LuciferYang commented on code in PR #44055:
URL: https://github.com/apache/spark/pull/44055#discussion_r1407631667


##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala:
##########
@@ -33,11 +33,11 @@ import org.apache.spark.util.Utils
 private[hive] object SparkSQLEnv extends Logging {
   logDebug("Initializing SparkSQLEnv")
 
-  var sqlContext: SQLContext = _

Review Comment:
   I searched on GitHub and it doesn't seem like any notable projects are 
directly using `SparkSQLEnv.sqlContext`, and since this is an internal `var` of 
Spark, I have directly deleted it in this PR. 
   If this variable is not suitable for direct deletion, please let me know, we 
can opt to mark it as `deprecated` in this pr.



-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to