From 603030fa8aec55c90b4e30282a57b1795df64a46 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Wed, 25 Oct 2023 22:03:45 +0800 Subject: [PATCH] [KYUUBI #5483] Release Spark TPC-H/DS Connectors with Scala 2.13 ### _Why are the changes needed?_ Spark TPC-H/DS Connectors are mostly used for testing, we'd better provide both Scala 2.12 and 2.13 for next release Close #5483 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No Closes #5521 from pan3793/5483. Closes #5483 49cd2a1ec [Cheng Pan] Update build/release/release.sh 13f3d8bb1 [Cheng Pan] Update build/release/release.sh 4a30b0829 [Cheng Pan] nit ed388f995 [Cheng Pan] [KYUUBI #5483] Release Spark TPC-H/DS Connectors with Scala 2.13 Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- build/release/release.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/release/release.sh b/build/release/release.sh index 89ecd5230..047513dc5 100755 --- a/build/release/release.sh +++ b/build/release/release.sh @@ -109,15 +109,27 @@ upload_svn_staging() { } upload_nexus_staging() { + # Spark Extension Plugin for Spark 3.1 ${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.1 \ -s "${KYUUBI_DIR}/build/release/asf-settings.xml" \ -pl extensions/spark/kyuubi-extension-spark-3-1 -am + + # Spark Extension Plugin for Spark 3.2 ${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.2 \ -s "${KYUUBI_DIR}/build/release/asf-settings.xml" \ -pl extensions/spark/kyuubi-extension-spark-3-2 -am + + # Spark Extension Plugin for Spark 3.3 ${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.3 \ -s "${KYUUBI_DIR}/build/release/asf-settings.xml" \ -pl extensions/spark/kyuubi-extension-spark-3-3 -am + + # Spark TPC-DS/TPC-H Connector build with default Spark version (3.4) and Scala 2.13 + ${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.4 \ + -s "${KYUUBI_DIR}/build/release/asf-settings.xml" \ + -pl extensions/spark/kyuubi-connector-tpcds,extensions/spark/kyuubi-connector-tpch + + # All modules including Spark Extension Plugin and Connectors build with default Spark version (3.4) and default Scala version (2.12) ${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.4 \ -s "${KYUUBI_DIR}/build/release/asf-settings.xml" }