[
https://issues.apache.org/jira/browse/HIVE-29394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa resolved HIVE-29394.
-----------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Merged to master. Thank you [~thomas.rebele] for the patch and
[~InvisibleProgrammer] for the review.
> Fix RelOptHiveTable#containsPartitionColumnsOnly
> ------------------------------------------------
>
> Key: HIVE-29394
> URL: https://issues.apache.org/jira/browse/HIVE-29394
> Project: Hive
> Issue Type: Bug
> Reporter: Thomas Rebele
> Assignee: Thomas Rebele
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> The [for
> loop|https://github.com/apache/hive/blob/4e48dcec19c310aadd6eb07350481ab7a13e9d90/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java#L711]
> of RelOptHiveTable#containsPartitionColumnsOnly iterates over the set bits
> in a wrong way. Compare with [the
> loop|https://github.com/apache/hive/blob/4e48dcec19c310aadd6eb07350481ab7a13e9d90/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdPredicates.java#L542]
> in
> HiveRelMdPredicates.JoinConditionBasedPredicateInference.ExprsItr#ExprsItr.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)