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

Jason Huynh reassigned GEODE-147:
---------------------------------

    Assignee:     (was: Jason Huynh)

> 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
>            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
(v7.6.3#76005)

Reply via email to