From 57aa4b709abb2b61f13f462e3c99841956b4c988 Mon Sep 17 00:00:00 2001 From: James Xu Date: Wed, 31 Dec 2025 15:27:41 +0800 Subject: [PATCH] [AURON #1745] Add Spark 3.3 ExistenceJoinSuite --- .../auron/utils/AuronSparkTestSettings.scala | 7 +++++++ .../joins/AuronExistenceJoinSuite.scala | 21 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 auron-spark-tests/spark33/src/test/scala/org/apache/spark/sql/execution/joins/AuronExistenceJoinSuite.scala diff --git a/auron-spark-tests/spark33/src/test/scala/org/apache/auron/utils/AuronSparkTestSettings.scala b/auron-spark-tests/spark33/src/test/scala/org/apache/auron/utils/AuronSparkTestSettings.scala index 2bccdc086..95005bc80 100644 --- a/auron-spark-tests/spark33/src/test/scala/org/apache/auron/utils/AuronSparkTestSettings.scala +++ b/auron-spark-tests/spark33/src/test/scala/org/apache/auron/utils/AuronSparkTestSettings.scala @@ -17,6 +17,7 @@ package org.apache.auron.utils import org.apache.spark.sql._ +import org.apache.spark.sql.execution.joins.AuronExistenceJoinSuite class AuronSparkTestSettings extends SparkTestSettings { { @@ -28,6 +29,12 @@ class AuronSparkTestSettings extends SparkTestSettings { // See https://github.com/apache/auron/issues/1724 .exclude("string / binary substring function") + // Suites for JOINs. + enableSuite[AuronExistenceJoinSuite] + // See https://github.com/apache/auron/issues/1807 + .exclude( + "test no condition with empty right side for left anti join using BroadcastNestedLoopJoin build left") + // Will be implemented in the future. override def getSQLQueryTestSettings = new SQLQueryTestSettings { override def getResourceFilePath: String = ??? diff --git a/auron-spark-tests/spark33/src/test/scala/org/apache/spark/sql/execution/joins/AuronExistenceJoinSuite.scala b/auron-spark-tests/spark33/src/test/scala/org/apache/spark/sql/execution/joins/AuronExistenceJoinSuite.scala new file mode 100644 index 000000000..f8fc9660c --- /dev/null +++ b/auron-spark-tests/spark33/src/test/scala/org/apache/spark/sql/execution/joins/AuronExistenceJoinSuite.scala @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.spark.sql.execution.joins + +import org.apache.spark.sql.SparkTestsSharedSessionBase + +class AuronExistenceJoinSuite extends ExistenceJoinSuite with SparkTestsSharedSessionBase {}