-
What is your question?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unfortunately, I don't think there is a good answer to your question. It wouldn't be efficient to try and use the same initial number of shuffle partitions for all queries and it really does need to be tuned for different circumstances currently (both in community Spark and with the RAPIDS plugin). However, AQE definitely does provide benefits when the initial number of shuffle partitions is high because it will coalesce them when it sees that there are many small partitions, making the rest of the query run more efficiently. |
Beta Was this translation helpful? Give feedback.
-
Please reopen in case there are follow up questions. |
Beta Was this translation helpful? Give feedback.
Unfortunately, I don't think there is a good answer to your question. It wouldn't be efficient to try and use the same initial number of shuffle partitions for all queries and it really does need to be tuned for different circumstances currently (both in community Spark and with the RAPIDS plugin).
However, AQE definitely does provide benefits when the initial number of shuffle partitions is high because it will coalesce them when it sees that there are many small partitions, making the rest of the query run more efficiently.