[
https://issues.apache.org/jira/browse/GEODE-7523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096810#comment-17096810
]
Jinmei Liao commented on GEODE-7523:
------------------------------------
"CreateIndexConmmand" will catch this early and fail when looking for the wrong
region -- if the region exists is A.B, it will look for region A instead of
A.B. Even if it passes this step, the same error would occur if trying to
create the index on the server.
> 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
> Priority: Major
>
> 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)