cloud-fan commented on pull request #29540: URL: https://github.com/apache/spark/pull/29540#issuecomment-681693325
The fallback is there to avoid perf regression with AQE when only a single query runs on the cluster (the benchmark case). I agree it's not ideal for the common cases, but you can set the min size to 1 to disable the fallback easily. That said, I think it's safer to have this fallback to avoid perf regression (it won't be worse than AQE off), and you can choose to disable it easily to make it more ideal. Maybe the best we can do is to document it in the AQE user guide. cc @JkSelf @maryannxue ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
