
@@ -53,10 +51,18 @@ And don't worry, Kyuubi will support the new Apache Spark version in future. Tha
## How to use Kyuubi SQL extension
-1. you need to choose Apache Spark branch-3.1 or higher version with Kyuubi binary tgz.
-2. if you want to compile Kyuubi by yourself, the maven opt should add `-Pkyuubi-extension-spark-3-1`
-3. move the jar(`kyuubi-extension-spark-*.jar`) which is in `$KYUUBI_HOME/extension` into `$SPARK_HOME/jars`
-4. add a config into `spark-defaults.conf`, `spark.sql.extensions=org.apache.kyuubi.sql.KyuubiSparkSQLExtension`
+| Kyuubi Spark SQL extension | Supported Spark version(s) | Available since | EOL | Bundled in Binary release tarball | Maven profile
+| -------------------------- | -------------------------- | ---------------- | ---------------- | --------------------------------- | -------------
+| kyuubi-extension-spark-3-1 | 3.1.x | 1.3.0-incubating | N/A | 1.3.0-incubating | spark-3.1
+| kyuubi-extension-spark-3-2 | 3.2.x | 1.4.0-incubating | N/A | 1.4.0-incubating | spark-3.2
+
+1. Check the matrix that if you are using the supported Spark version, and find the corresponding Kyuubi Spark SQL Extension jar
+2. Get the Kyuubi Spark SQL Extension jar
+ 1. Each Kyuubi binary release tarball only contains one default version of Kyuubi Spark SQL Extension jar, if you are looking for such version, you can find it under `$KYUUBI_HOME/extension`
+ 2. All supported versions of Kyuubi Spark SQL Extension jar will be deployed to [Maven Central](https://search.maven.org/search?q=kyuubi-extension-spark)
+ 3. If you like, you can compile Kyuubi Spark SQL Extension jar by yourself, please activate the corresponding Maven's profile on you compile command, i.e. you can get Kyuubi Spark SQL Extension jar for Spark 3.1 under `dev/kyuubi-extension-spark-3-1/target` when compile with `-Pspark-3.1`
+3. Put the Kyuubi Spark SQL extension jar `kyuubi-extension-spark-*.jar` into `$SPARK_HOME/jars`
+4. Enable `KyuubiSparkSQLExtension`, i.e. add a config into `$SPARK_HOME/conf/spark-defaults.conf`, `spark.sql.extensions=org.apache.kyuubi.sql.KyuubiSparkSQLExtension`
Now, you can enjoy the Kyuubi SQL Extension, and also Kyuubi provides some configs to make these feature easy to use.
diff --git a/docs/sql/z-order-benchmark.md b/docs/sql/z-order-benchmark.md
index d60cb7c3999..5beb18058f0 100644
--- a/docs/sql/z-order-benchmark.md
+++ b/docs/sql/z-order-benchmark.md
@@ -15,8 +15,6 @@
- limitations under the License.
-->
-
-

diff --git a/externals/kyuubi-download/pom.xml b/externals/kyuubi-download/pom.xml
index 7954567446c..a5613c531bd 100644
--- a/externals/kyuubi-download/pom.xml
+++ b/externals/kyuubi-download/pom.xml
@@ -57,6 +57,14 @@
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
diff --git a/pom.xml b/pom.xml
index 88d8f1ce892..d8ffe7f9198 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1775,6 +1775,10 @@
1.0.0
org.apache.kyuubi.tags.ExtendedSQLTest,org.apache.kyuubi.tags.HudiTest
+
+ dev/kyuubi-extension-spark-common
+ dev/kyuubi-extension-spark-3-1
+
@@ -1783,6 +1787,10 @@
3.2.0
org.apache.kyuubi.tags.ExtendedSQLTest,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.IcebergTest,org.apache.kyuubi.tags.HudiTest
+
+ dev/kyuubi-extension-spark-common
+ dev/kyuubi-extension-spark-3-2
+
@@ -1826,22 +1834,6 @@
-
- kyuubi-extension-spark-3-1
-
- dev/kyuubi-extension-spark-common
- dev/kyuubi-extension-spark-3-1
-
-
-
-
- kyuubi-extension-spark-3-2
-
- dev/kyuubi-extension-spark-common
- dev/kyuubi-extension-spark-3-2
-
-
-
spark-block-cleaner
diff --git a/tools/spark-block-cleaner/pom.xml b/tools/spark-block-cleaner/pom.xml
index e186693f4f2..e09d6aa9132 100644
--- a/tools/spark-block-cleaner/pom.xml
+++ b/tools/spark-block-cleaner/pom.xml
@@ -55,10 +55,5 @@
target/scala-${scala.binary.version}/classes
target/scala-${scala.binary.version}/test-classes
-
-
- ${project.basedir}/src/main/resources
-
-