wForget commented on code in PR #1342:
URL: https://github.com/apache/auron/pull/1342#discussion_r2380692553
##########
spark-extension/src/main/scala/org/apache/spark/sql/auron/AuronSparkSessionExtension.scala:
##########
@@ -31,8 +31,8 @@ class AuronSparkSessionExtension extends
(SparkSessionExtensions => Unit) with L
Shims.get.initExtension()
override def apply(extensions: SparkSessionExtensions): Unit = {
- SparkEnv.get.conf.set("spark.sql.adaptive.enabled", "true")
- SparkEnv.get.conf.set("spark.sql.adaptive.forceApply", "true")
+ SparkEnv.get.conf.set(SQLConf.ADAPTIVE_EXECUTION_ENABLED.key, "true")
+ SparkEnv.get.conf.set(SQLConf.ADAPTIVE_EXECUTION_FORCE_APPLY.key, "true")
logInfo("org.apache.spark.AuronSparkSessionExtension enabled")
Review Comment:
If you want to print the full package name, just like:
```
logInfo(s"${classOf[AuronSparkSessionExtension].getName} enabled")
```
--
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]