This is an automated email from the ASF dual-hosted git repository. dongjoon 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 1404d1f801c7 [SPARK-47715][BUILD][STS] Upgrade hive-service-rpc 4.0.0 1404d1f801c7 is described below commit 1404d1f801c7508245f72f15049f45ad7f7aba27 Author: Cheng Pan <cheng...@apache.org> AuthorDate: Wed Apr 3 07:55:45 2024 -0700 [SPARK-47715][BUILD][STS] Upgrade hive-service-rpc 4.0.0 ### What changes were proposed in this pull request? This PR upgrades hive-service-rpc from 3.1.3 to 4.0.0, which has 3 changes. - https://issues.apache.org/jira/browse/HIVE-14388 (new added field is optional, leave it now and investigate later) - https://issues.apache.org/jira/browse/HIVE-24230 (not applicable for Spark) - https://issues.apache.org/jira/browse/HIVE-24893 (mark methods as not supported and investigate later) ### Why are the changes needed? Use the latest version of `hive-service-rpc`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No Closes #45854 from pan3793/SPARK-47715. Authored-by: Cheng Pan <cheng...@apache.org> Signed-off-by: Dongjoon Hyun <dh...@apple.com> --- dev/deps/spark-deps-hadoop-3-hive-2.3 | 2 +- pom.xml | 2 +- .../main/java/org/apache/hive/service/cli/OperationType.java | 1 + .../org/apache/hive/service/cli/thrift/ThriftCLIService.java | 10 ++++++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 b/dev/deps/spark-deps-hadoop-3-hive-2.3 index c6913ceeff13..6ca93894bd81 100644 --- a/dev/deps/spark-deps-hadoop-3-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-3-hive-2.3 @@ -89,7 +89,7 @@ hive-jdbc/2.3.9//hive-jdbc-2.3.9.jar hive-llap-common/2.3.9//hive-llap-common-2.3.9.jar hive-metastore/2.3.9//hive-metastore-2.3.9.jar hive-serde/2.3.9//hive-serde-2.3.9.jar -hive-service-rpc/3.1.3//hive-service-rpc-3.1.3.jar +hive-service-rpc/4.0.0//hive-service-rpc-4.0.0.jar hive-shims-0.23/2.3.9//hive-shims-0.23-2.3.9.jar hive-shims-common/2.3.9//hive-shims-common-2.3.9.jar hive-shims-scheduler/2.3.9//hive-shims-scheduler-2.3.9.jar diff --git a/pom.xml b/pom.xml index ca949a05c81c..295165446e92 100644 --- a/pom.xml +++ b/pom.xml @@ -2476,7 +2476,7 @@ <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-service-rpc</artifactId> - <version>3.1.3</version> + <version>4.0.0</version> <exclusions> <exclusion> <groupId>*</groupId> diff --git a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/OperationType.java b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/OperationType.java index 376eee4443c6..68484e06e1f9 100644 --- a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/OperationType.java +++ b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/OperationType.java @@ -27,6 +27,7 @@ public enum OperationType { UNKNOWN_OPERATION(TOperationType.UNKNOWN), EXECUTE_STATEMENT(TOperationType.EXECUTE_STATEMENT), + PROCEDURAL_SQL(TOperationType.PROCEDURAL_SQL), GET_TYPE_INFO(TOperationType.GET_TYPE_INFO), GET_CATALOGS(TOperationType.GET_CATALOGS), GET_SCHEMAS(TOperationType.GET_SCHEMAS), diff --git a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java index 815df3eafdde..4b18e2950a3d 100644 --- a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java +++ b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java @@ -696,6 +696,16 @@ public abstract class ThriftCLIService extends AbstractService implements TCLISe } } + @Override + public TUploadDataResp UploadData(TUploadDataReq req) throws TException { + throw new UnsupportedOperationException("Method UploadData has not been implemented."); + } + + @Override + public TDownloadDataResp DownloadData(TDownloadDataReq req) throws TException { + throw new UnsupportedOperationException("Method DownloadData has not been implemented."); + } + @Override public abstract void run(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org