You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (Jira)" <ji...@apache.org> on 2019/12/03 00:36:00 UTC

[jira] [Created] (GEODE-7523) Cannot add an index to a region that has a dot in its name

Dale Emery created GEODE-7523:
---------------------------------

             Summary: Cannot add an index to a region that has a dot in its name
                 Key: GEODE-7523
                 URL: https://issues.apache.org/jira/browse/GEODE-7523
             Project: Geode
          Issue Type: Bug
          Components: querying
            Reporter: Dale Emery


It is not possible to add an index to a region that has a dot in its name.

Geode currently accepts dots in region names (though the documentation says it does not).

To create an index via GFSH, the user specifies the region name using the `--region` parameter. GFSH passes the region name to the query service as a "from clause."

The query service uses OQL parsers in several places to extract the region name from the given "from clause." The OQL parser's grammar does not recognize a dot as being part of a region name, and so truncates the given "from clause" at the first dot. When a region name contains a dot, this has the effect of truncating the region name at the first dot.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)