dongjoon-hyun commented on code in PR #47176:
URL: https://github.com/apache/spark/pull/47176#discussion_r1674238161
##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala:
##########
@@ -49,30 +49,32 @@ object HiveThriftServer2 extends Logging {
/**
* :: DeveloperApi ::
- * Starts a new thrift server with the given context.
+ * Starts a new thrift server with the given SparkSession.
*
- * @param sqlContext SQLContext to use for the server
+ * @param sparkSession SparkSession to use for the server
* @param exitOnError Whether to exit the JVM if HiveThriftServer2 fails to
initialize. When true,
* the call logs the error and exits the JVM with exit
code -1. When false, the
* call throws an exception instead.
*/
@Since("4.0.0")
@DeveloperApi
- def startWithContext(sqlContext: SQLContext, exitOnError: Boolean):
HiveThriftServer2 = {
+ def startWithSparkSession(
Review Comment:
Yes, it's okay to change . Maybe, this is the last chance if we want to
change this.
--
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]