[ 
https://issues.apache.org/jira/browse/HIVE-12543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147609#comment-15147609
 ] 

Jesus Camacho Rodriguez commented on HIVE-12543:
------------------------------------------------

[~ashutoshc], new patch addresses the following:
- Dynamic partition pruning not being triggered anymore when static partition 
pruning has been performed.
- testNegativeCliDriver_case_with_row_sequence fail : stateful functions are 
not allowed within CASE clauses. Previously, these were identified when we were 
running ConstantPropagate. With this patch, constant folding is done by 
Calcite, thus we need to identify them in the parser.
- Sorted dynamic partition optimizer not being triggered : constant columns 
recognition in SortedDynPartitionOptimizer needed to be improved.

Thus, we only need to create the follow-up JIRA for join merging.

> Disable Hive ConstantPropagate optimizer when CBO has optimized the plan
> ------------------------------------------------------------------------
>
>                 Key: HIVE-12543
>                 URL: https://issues.apache.org/jira/browse/HIVE-12543
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO, Logical Optimizer
>    Affects Versions: 2.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-12543.01.patch, HIVE-12543.02.patch, 
> HIVE-12543.03.patch, HIVE-12543.04.patch, HIVE-12543.05.patch, 
> HIVE-12543.06.patch, HIVE-12543.07.patch, HIVE-12543.patch
>
>




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

Reply via email to