You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/02/19 00:37:43 UTC

[GitHub] [spark] sunchao commented on pull request #35552: [SPARK-38237][SQL][SS] Introduce a new config to require all cluster keys on Aggregate

sunchao commented on pull request #35552:
URL: https://github.com/apache/spark/pull/35552#issuecomment-1045438357


   > I agree DataFrame has no problem on this given existence of repartition(). But how about SQL statement? Do we provide the same for SQL statement? Could end users inject the hint anywhere before operator and it will take effect on the exact place?
   
   My understanding is you can already provide hint in SQL (see SPARK-28746).
   
   _If_ we do need to introduce this (which is still under discussion here), I'm wondering why we have to bring back `HashClusteredDistribution` instead of just changing the behavior of `HashPartitioning.satisfies` according to the config. This config is also very similar to the existing `spark.sql.requireAllClusterKeysForCoPartition`.


-- 
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: reviews-unsubscribe@spark.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org