You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "kasakrisz (via GitHub)" <gi...@apache.org> on 2026/08/05 14:45:16 UTC

Re: [PR] HIVE-29525: Iceberg partitioned columns are not reflected by RelOptHiveTable [hive]

kasakrisz commented on code in PR #6600:
URL: https://github.com/apache/hive/pull/6600#discussion_r3721536223


##########
iceberg/iceberg-handler/src/test/results/positive/llap/iceberg_bucket_map_join_3.q.out:
##########
@@ -210,16 +210,16 @@ Stage-0
                   PartitionCols:_col0
                   Select Operator [SEL_27] (rows=238 width=4)
                     Output:["_col0"]
-                    Filter Operator [FIL_26] (rows=238 width=89)
+                    Filter Operator [FIL_26] (rows=238 width=188)
                       predicate:((part = '1') and key is not null)
-                      TableScan [TS_3] (rows=238 width=89)
+                      TableScan [TS_3] (rows=238 width=188)
                         default@srcbucket_mapjoin_part_2_n4,b,Tbl:COMPLETE,Col:COMPLETE,Output:["key","part"]
               <-Select Operator [SEL_30] (rows=238 width=4)
                   Output:["_col0"]
-                  Filter Operator [FIL_29] (rows=238 width=89)
+                  Filter Operator [FIL_29] (rows=238 width=188)
                     predicate:((part = '1') and key is not null)
-                    TableScan [TS_0] (rows=238 width=89)
-                      default@srcbucket_mapjoin_part_1_n1,a,Tbl:COMPLETE,Col:COMPLETE,Grouping Num Buckets:2,Grouping Partition Columns:["key"],Output:["key","part"]
+                    TableScan [TS_0] (rows=238 width=188)
+                      default@srcbucket_mapjoin_part_1_n1,a,Tbl:COMPLETE,Col:PARTIAL,Grouping Num Buckets:2,Grouping Partition Columns:["key"],Output:["key","part"]

Review Comment:
   In the expression `bucket(2, key)` currently Hive can't treat `key` as a partition column. In the first version of the patch I tried but this leads to incomplete stats.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org