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

Dmitry Lychagin resolved ASTERIXDB-2754.
----------------------------------------
    Resolution: Fixed

> LoadRecordFieldRule produces inconsistent query plan
> ----------------------------------------------------
>
>                 Key: ASTERIXDB-2754
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2754
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>    Affects Versions: 0.9.4
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Major
>
> LoadRecordFieldsRule replaces a field access expression with an expression 
> this field was assigned to by a record constructor. The problem is that it 
> does not clone the replacement expression which makes the query plan 
> inconsistent because  the same expression is now shared by two operators.
> See
> [https://github.com/apache/asterixdb/blob/release-0.9.4.1/asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/LoadRecordFieldsRule.java#L295]
>  
>  



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

Reply via email to