You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2015/07/28 20:16:05 UTC

[jira] [Updated] (GEODE-147) Unable to match iterator for indexed query using alias when update in progress

     [ https://issues.apache.org/jira/browse/GEODE-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Huynh updated GEODE-147:
------------------------------
    Priority: Minor  (was: Major)

> Unable to match iterator for indexed query using alias when update in progress
> ------------------------------------------------------------------------------
>
>                 Key: GEODE-147
>                 URL: https://issues.apache.org/jira/browse/GEODE-147
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Jason Huynh
>            Assignee: Jason Huynh
>            Priority: Minor
>
> The problem occurs when there is an update in progress and a query that uses an index has an alias in the from clause of a query and not in the where clause.
> For example:
> select p.id from /portfolios p.entriesSet entry where value.score = $1
> A possible fix would be to also match the indexed expression with the path name.
> if(path.getType() == OQLLexerTokenTypes.Identifier
>               || itr.getName().equals(pathName) || info._getIndex().getIndexedExpression().startsWith(pathName + ".")) {



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)