juliuszsompolski commented on a change in pull request #25062:
[SPARK-28260][SQL] Add CLOSED state to ExecutionState
URL: https://github.com/apache/spark/pull/25062#discussion_r301008272
##########
File path:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -37,6 +37,7 @@ import org.apache.spark.internal.Logging
import org.apache.spark.sql.{DataFrame, Row => SparkRow, SQLContext}
import org.apache.spark.sql.execution.HiveResult
import org.apache.spark.sql.execution.command.SetCommand
+import org.apache.spark.sql.hive.thriftserver.HiveThriftServer2.listener
Review comment:
style nit: I would avoid importing the `listener` field directly, as it
creates extra changes, and I think it's not common practice in Spark to import
field from within an object (except for dsl, like, org.apache.spark.functions).
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]