Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/20803#discussion_r174109194
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala ---
@@ -34,6 +34,16 @@ object SQLExecution {
private val executionIdToQueryExecution = new ConcurrentHashMap[Long,
QueryExecution]()
+ private val executionIdToSqlText = new ConcurrentHashMap[Long, String]()
+
+ def setSqlText(sqlText: String): Unit = {
+ executionIdToSqlText.putIfAbsent(_nextExecutionId.get(), sqlText)
--- End diff --
Ohh, I see. Sorry I misunderstood it.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]