sunchao commented on PR #42194: URL: https://github.com/apache/spark/pull/42194#issuecomment-1679649561
Yes good point @szehon-ho . If `spark.sql.sources.v2.bucketing.partiallyClusteredDistribution.enabled` and `spark.sql.sources.v2.bucketing.pushPartValues.enabled` are both turned on, this may not work since the data on the hash partitioning side is shuffled according to the partition values before the grouping, which contain duplicates. Perhaps we should use `KeyGroupedPartitioning.uniquePartitionValues` when computing `valueMap`. -- 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]
