XiDuo You created SPARK-38406: --------------------------------- Summary: Improve perfermance of ShufflePartitionsUtil createSkewPartitionSpecs Key: SPARK-38406 URL: https://issues.apache.org/jira/browse/SPARK-38406 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.3.0 Reporter: XiDuo You
If shuffle is skewed with tens of thousands of map partitions and reduce partitions in AQE, the method `ShufflePartitionsUtil#createSkewPartitionSpecs` will be very slow. More unfortunately, it is running at driver side. See the Flame Graph of my local test env: !image-2022-03-03-20-24-48-244.png! We can see, a lot of cpu is running for build seq. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org