You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/11/11 01:31:58 UTC
[GitHub] [spark] HyukjinKwon commented on a change in pull request #34041: [SPARK-36799][SQL] Pass queryExecution name in CLI when only select query
HyukjinKwon commented on a change in pull request #34041:
URL: https://github.com/apache/spark/pull/34041#discussion_r747136024
##########
File path: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLDriver.scala
##########
@@ -65,7 +65,7 @@ private[hive] class SparkSQLDriver(val context: SQLContext = SparkSQLEnv.sqlCont
}
context.sparkContext.setJobDescription(substitutorCommand)
val execution = context.sessionState.executePlan(context.sql(command).logicalPlan)
- hiveResponse = SQLExecution.withNewExecutionId(execution) {
+ hiveResponse = SQLExecution.withNewExecutionId(execution, Some("cli")) {
Review comment:
looks fine but let me add @wangyum and @juliuszsompolski for doubly sure.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org