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

diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-spark-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new dee14b8  provide 3.3.x option in build.sh (#85)
dee14b8 is described below

commit dee14b891c892fc20d9cc3a69ab68a50bd2f035e
Author: Bowen Liang <liangbo...@gf.com.cn>
AuthorDate: Thu Mar 30 16:02:07 2023 +0800

    provide 3.3.x option in build.sh (#85)
---
 spark-doris-connector/build.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/spark-doris-connector/build.sh b/spark-doris-connector/build.sh
index 14386f8..0985a8a 100755
--- a/spark-doris-connector/build.sh
+++ b/spark-doris-connector/build.sh
@@ -142,7 +142,7 @@ selectScala() {
 
 selectSpark() {
   echo 'Spark-Doris-Connector supports multiple versions of spark. Which 
version do you need ?'
-  select spark in "2.3.x" "3.1.x" "3.2.x" "other"
+  select spark in "2.3.x" "3.1.x" "3.2.x" "3.3.x" "other"
   do
     case $spark in
       "2.3.x")
@@ -154,9 +154,12 @@ selectSpark() {
       "3.2.x")
         return 3
         ;;
-      "other")
+      "3.3.x")
         return 4
         ;;
+      "other")
+        return 5
+        ;;
     esac
   done
 }
@@ -175,6 +178,8 @@ elif [ ${SparkVer} -eq 2 ]; then
 elif [ ${SparkVer} -eq 3 ]; then
     SPARK_VERSION="3.2.0"
 elif [ ${SparkVer} -eq 4 ]; then
+    SPARK_VERSION="3.3.2"
+elif [ ${SparkVer} -eq 5 ]; then
     # shellcheck disable=SC2162
     read -p 'Which spark version do you need? please input
     :' ver


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to