wangyum opened a new pull request, #37163:
URL: https://github.com/apache/spark/pull/37163

   ### What changes were proposed in this pull request?
   
   This PR enable `spark.sql.cbo.enabled` by default.
   
   ### Why are the changes needed?
   
   1. Enable CBO to get better performance, we've enabled it over 3 years.
   2. Benchmark related tests also enabled 
it:https://github.com/apache/spark/blob/e83f8a872a16d4f049cefb1fc445f91cf84443ad/sql/core/src/test/scala/org/apache/spark/sql/TPCBase.scala#L32
   
   ### Does this PR introduce _any_ user-facing change?
   
   Maybe. But user can disable it by `set spark.sql.cbo.enabled=false`.
   
   ### How was this patch tested?
   
   Fix existing tests.


-- 
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]

Reply via email to