yaooqinn commented on a change in pull request #1060:
URL: https://github.com/apache/incubator-kyuubi/pull/1060#discussion_r705007125
##########
File path:
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/SparkSQLOperationManager.scala
##########
@@ -58,7 +61,15 @@ class SparkSQLOperationManager private (name: String)
extends OperationManager(n
runAsync: Boolean,
queryTimeout: Long): Operation = {
val spark = getSparkSession(session.handle)
- val operation = new ExecuteStatement(spark, session, statement, runAsync,
queryTimeout)
+
+ val operationMode = {
+ val modeStr = spark.conf.get(OPERATION_PLAN_ONLY.key,
NONE.toString).toUpperCase(Locale.ROOT)
Review comment:
we are getting it from spark runtime config
--
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]