[
https://issues.apache.org/jira/browse/HIVE-29394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-29394:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)