Skip to content

Commit

Permalink
[GLUTEN-2169][VL] Enable GlutenEnsureRequirementsSuite in unit tests (a…
Browse files Browse the repository at this point in the history
…pache#3860)

* Enable GlutenEnsureRequirementsSuite

* Enable GlutenEnsureRequirementsSuite in spark 34
  • Loading branch information
JkSelf authored Nov 28, 2023
1 parent 8bebab7 commit a55ab51
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,6 @@ class VeloxTestSettings extends BackendTestSettings {
enableSuite[GlutenVectorizedParquetReadSchemaSuite]
enableSuite[GlutenMergedParquetReadSchemaSuite]
enableSuite[GlutenEnsureRequirementsSuite]
// FIXME: yan
.exclude("reorder should handle PartitioningCollection")
// Rewrite to change the shuffle partitions for optimizing repartition
.excludeByPrefix("SPARK-35675")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@
*/
package org.apache.spark.sql.execution.exchange

import org.apache.spark.SparkConf
import org.apache.spark.sql.GlutenSQLTestsBaseTrait
import org.apache.spark.sql.GlutenTestConstants.GLUTEN_TEST
import org.apache.spark.sql.internal.SQLConf

class GlutenEnsureRequirementsSuite extends EnsureRequirementsSuite with GlutenSQLTestsBaseTrait {
override def sparkConf: SparkConf = {
// Native SQL configs
super.sparkConf
.set("spark.sql.shuffle.partitions", "5")
}

test(
GLUTEN_TEST +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,6 @@ class VeloxTestSettings extends BackendTestSettings {
enableSuite[GlutenVectorizedParquetReadSchemaSuite]
enableSuite[GlutenMergedParquetReadSchemaSuite]
enableSuite[GlutenEnsureRequirementsSuite]
// FIXME: yan
.exclude("reorder should handle PartitioningCollection")
// Rewrite to change the shuffle partitions for optimizing repartition
.excludeByPrefix("SPARK-35675")
.exclude("SPARK-41986: Introduce shuffle on SinglePartition")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@
*/
package org.apache.spark.sql.execution.exchange

import org.apache.spark.SparkConf
import org.apache.spark.sql.GlutenSQLTestsBaseTrait
import org.apache.spark.sql.GlutenTestConstants.GLUTEN_TEST
import org.apache.spark.sql.internal.SQLConf

class GlutenEnsureRequirementsSuite extends EnsureRequirementsSuite with GlutenSQLTestsBaseTrait {
override def sparkConf: SparkConf = {
// Native SQL configs
super.sparkConf
.set("spark.sql.shuffle.partitions", "5")
}

test(
GLUTEN_TEST +
Expand Down

0 comments on commit a55ab51

Please sign in to comment.