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 2019/03/06 19:49:24 UTC
[GitHub] [spark] gatorsmile commented on a change in pull request #23958:
[SPARK-27045] SQL tab in UI shows actual SQL instead of callsite
gatorsmile commented on a change in pull request #23958: [SPARK-27045] SQL tab in UI shows actual SQL instead of callsite
URL: https://github.com/apache/spark/pull/23958#discussion_r263106483
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala
##########
@@ -77,7 +78,9 @@ object SQLExecution {
try {
sc.listenerBus.post(SparkListenerSQLExecutionStart(
executionId = executionId,
- description = callSite.shortForm,
+ description = Option(sparkSession.sparkContext
+ .getLocalProperty(SparkContext.SPARK_JOB_DESCRIPTION))
Review comment:
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala#L166-L171
Please check whether the strings in SparkContext.SPARK_JOB_DESCRIPTION have been redacted.
Thanks!
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org