From d8bc8b870c39257d2c927bed5d92570d21e94faf Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 27 Feb 2024 16:12:54 +0800 Subject: [PATCH] [KYUUBI #6095] Enable PaimonTest for Spark 3.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— This pull request enables PaimonTest for Spark 3.5 ## Describe Your Solution ๐Ÿ”ง As Paimon 0.7.0 already brings support for Spark 3.5, we should enable PaimonTest for Spark 3.5. ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช Pass GA. --- # Checklist ๐Ÿ“ - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6095 from pan3793/paimon-spark-3.5. Closes #6095 f55801b7f [Cheng Pan] Enable PaimonTest for Spark 3.5 Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- .../authz/ranger/PaimonCatalogRangerSparkExtensionSuite.scala | 3 +-- pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/PaimonCatalogRangerSparkExtensionSuite.scala b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/PaimonCatalogRangerSparkExtensionSuite.scala index 1ea039ec1e1..7584a636795 100644 --- a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/PaimonCatalogRangerSparkExtensionSuite.scala +++ b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/PaimonCatalogRangerSparkExtensionSuite.scala @@ -21,7 +21,6 @@ import org.scalatest.Outcome import org.apache.kyuubi.Utils import org.apache.kyuubi.plugin.spark.authz.AccessControlException import org.apache.kyuubi.plugin.spark.authz.RangerTestUsers._ -import org.apache.kyuubi.plugin.spark.authz.util.AuthZUtils._ import org.apache.kyuubi.tags.PaimonTest import org.apache.kyuubi.util.AssertionUtils._ @@ -31,7 +30,7 @@ import org.apache.kyuubi.util.AssertionUtils._ @PaimonTest class PaimonCatalogRangerSparkExtensionSuite extends RangerSparkExtensionSuite { override protected val catalogImpl: String = "hive" - private def isSupportedVersion = !isSparkV35OrGreater + private def isSupportedVersion = true val catalogV2 = "paimon_catalog" val namespace1 = "paimon_ns" diff --git a/pom.xml b/pom.xml index a59c0f124c6..7aedfaac403 100644 --- a/pom.xml +++ b/pom.xml @@ -2308,7 +2308,7 @@ 3.4 3.5.0 3.5 - org.scalatest.tags.Slow,org.apache.kyuubi.tags.PySparkTest,org.apache.kyuubi.tags.PaimonTest + org.scalatest.tags.Slow,org.apache.kyuubi.tags.PySparkTest