This is an automated email from the ASF dual-hosted git repository.

krisztiankasa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 25e58308970 HIVE-29394: Fix 
RelOptHiveTable#containsPartitionColumnsOnly (#6261)
25e58308970 is described below

commit 25e58308970f2855e8c017150096cae28c4a7f17
Author: Thomas Rebele <[email protected]>
AuthorDate: Sat Jan 10 09:51:41 2026 +0100

    HIVE-29394: Fix RelOptHiveTable#containsPartitionColumnsOnly (#6261)
---
 .../org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java 
b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java
index 1fdc68108bc..b3e0249b778 100644
--- 
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java
+++ 
b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java
@@ -708,7 +708,7 @@ public List<ColStatistics> getColStat(List<Integer> 
projIndxLst, boolean allowMi
    * all columns in BitSet are partition columns.
    */
   public boolean containsPartitionColumnsOnly(ImmutableBitSet cols) {
-    for (int i = cols.nextSetBit(0); i >= 0; i++, i = cols.nextSetBit(i + 1)) {
+    for (int i = cols.nextSetBit(0); i >= 0; i = cols.nextSetBit(i + 1)) {
       if (!hivePartitionColsMap.containsKey(i)) {
         return false;
       }

Reply via email to