You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2024/03/27 10:56:26 UTC

(spark) branch master updated: [SPARK-46575][SQL][FOLLOWUP] Correct @since annotation for HiveThriftServer2.startWithContext(SQLContext, exitonError)

This is an automated email from the ASF dual-hosted git repository.

yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new d326cb9c08d9 [SPARK-46575][SQL][FOLLOWUP] Correct @since annotation for HiveThriftServer2.startWithContext(SQLContext, exitonError)
d326cb9c08d9 is described below

commit d326cb9c08d95aadb6ef4e31535d65c3d50e8b01
Author: Saksham Garg <74...@users.noreply.github.com>
AuthorDate: Wed Mar 27 18:56:12 2024 +0800

    [SPARK-46575][SQL][FOLLOWUP] Correct @since annotation for HiveThriftServer2.startWithContext(SQLContext, exitonError)
    
    ### What changes were proposed in this pull request?
    This PR fixes the incorrect `since` annotation for ` HiveThriftServer2.startWithContext(SQLContext, exitonError)` In the original [PR](https://github.com/apache/spark/pull/45727/files).
    
    ### Why are the changes needed?
    See above
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    Existing tests
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #45737 from dragqueen95/fixsince.
    
    Authored-by: Saksham Garg <74...@users.noreply.github.com>
    Signed-off-by: Kent Yao <ya...@apache.org>
---
 .../org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
index 5c94dec6feb3..7bbab2496658 100644
--- a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
+++ b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
@@ -56,7 +56,7 @@ object HiveThriftServer2 extends Logging {
    *                    the call logs the error and exits the JVM with exit code -1. When false, the
    *                    call throws an exception instead.
    */
-  @Since("3.5.2")
+  @Since("4.0.0")
   @DeveloperApi
   def startWithContext(sqlContext: SQLContext, exitOnError: Boolean): HiveThriftServer2 = {
     systemExitOnError.set(exitOnError)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org