You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2023/10/25 14:04:11 UTC

[kyuubi] branch branch-1.8 updated: [KYUUBI #5483] Release Spark TPC-H/DS Connectors with Scala 2.13

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

chengpan pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.8 by this push:
     new 936b9a076 [KYUUBI #5483] Release Spark TPC-H/DS Connectors with Scala 2.13
936b9a076 is described below

commit 936b9a0767b0de6e8e7f6eb2da16cb7d283b23d6
Author: Cheng Pan <ch...@apache.org>
AuthorDate: Wed Oct 25 22:03:45 2023 +0800

    [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 <ch...@apache.org>
    Signed-off-by: Cheng Pan <ch...@apache.org>
    (cherry picked from commit 603030fa8aec55c90b4e30282a57b1795df64a46)
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 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"
 }