[
https://issues.apache.org/jira/browse/HIVE-26626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stamatis Zampetakis resolved HIVE-26626.
----------------------------------------
Fix Version/s: 4.0.0
4.0.0-alpha-2
Resolution: Fixed
Fixed in
https://github.com/apache/hive/commit/92f60df1829879a4aac3727d00b10b30244a45e4.
Thanks for the review [~kkasa]!
> Cut dependencies between HiveXxPullUpConstantsRule and
> HiveReduceExpressionsRule
> --------------------------------------------------------------------------------
>
> Key: HIVE-26626
> URL: https://issues.apache.org/jira/browse/HIVE-26626
> Project: Hive
> Issue Type: Task
> Components: CBO
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0, 4.0.0-alpha-2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> HiveSortPullUpConstantsRule and HiveUnionPullUpConstantsRule are calling
> [predicateConstants|https://github.com/apache/hive/blob/8c3567ea8e423b202cde370f4d3fb401bcc23e46/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSortPullUpConstantsRule.java#L128
> ] method from HiveReduceExpressionsRule.
> The method in HiveReduceExpressionsRule is deprecated and creates unnecessary
> dependencies among the rules. It can be replaced by a direct call to
> RexUtil.predicateConstants; the two methods are functionally equivalent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)