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

Dmitry Lychagin updated ASTERIXDB-2434:
---------------------------------------
    Description: 
Computation of required child properties for UnionAll depends on the execution 
mode of its children 
(OperatorPropertiesUtil.checkUnpartitionedAndGetPropertiesVector()). Therefore 
it's important to have correct execution mode for its input operators at that 
time. 

InjectTypeCastForUnionRule and IntroduceDynamicTypeCastRule currently create 
new Assign operators, but do not set their execution mode. They should copy 
execution mode from their inputs

  was:
Computation of required child properties for some operators (UnionAll, for 
example) depends on the execution mode of its children 
(OperatorPropertiesUtil.checkUnpartitionedAndGetPropertiesVector()). Therefore 
it's important to have correct execution mode for all operators at that time. 

InjectTypeCastForUnionRule and IntroduceDynamicTypeCastRule need to set 
execution mode for new Assign operators they're creating


> Ensure operator execution mode before invoking EnforceStructuralPropertiesRule
> ------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2434
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2434
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> Computation of required child properties for UnionAll depends on the 
> execution mode of its children 
> (OperatorPropertiesUtil.checkUnpartitionedAndGetPropertiesVector()). 
> Therefore it's important to have correct execution mode for its input 
> operators at that time. 
> InjectTypeCastForUnionRule and IntroduceDynamicTypeCastRule currently create 
> new Assign operators, but do not set their execution mode. They should copy 
> execution mode from their inputs



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to