lgbo-ustc commented on PR #7976: URL: https://github.com/apache/incubator-gluten/pull/7976#issuecomment-2499784432
For high cardinality partition keys, fallback to window. We have following result - before ```sql 0: jdbc:hive2://localhost:10000> insert overwrite table dump_line select l_orderkey, l_partkey, l_suppkey, l_linenumber from (select l_orderkey, l_partkey, l_suppkey, l_linenumber, row_number() over (partition by l_suppkey, l_orderkey order by l_partkey) as r from tpch_pq.lineitem) where r = 1; +---------+ | Result | +---------+ +---------+ No rows selected (26.549 seconds) ``` - after ```sql 0: jdbc:hive2://localhost:10000> insert overwrite table dump_line select l_orderkey, l_partkey, l_suppkey, l_linenumber from (select l_orderkey, l_partkey, l_suppkey, l_linenumber, row_number() over (partition by l_suppkey, l_orderkey order by l_partkey) as r from tpch_pq.lineitem) where r = 1; +---------+ | Result | +---------+ +---------+ No rows selected (25.58 seconds) ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
