LuciferYang commented on code in PR #47176:
URL: https://github.com/apache/spark/pull/47176#discussion_r1666179691
##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIService.scala:
##########
@@ -103,7 +103,7 @@ private[hive] class SparkSQLCLIService(hiveServer:
HiveServer2, sqlContext: SQLC
getInfoType match {
case GetInfoType.CLI_SERVER_NAME => new GetInfoValue("Spark SQL")
case GetInfoType.CLI_DBMS_NAME => new GetInfoValue("Spark SQL")
- case GetInfoType.CLI_DBMS_VER => new
GetInfoValue(sqlContext.sparkContext.version)
+ case GetInfoType.CLI_DBMS_VER => new
GetInfoValue(sparkSession.sparkContext.version)
Review Comment:
```suggestion
case GetInfoType.CLI_DBMS_VER => new GetInfoValue(sparkSession.version)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]