From 7fe4fd4ace4f9cfdd85f58d00bee20dc6bcc0166 Mon Sep 17 00:00:00 2001 From: Jia Ke Date: Thu, 2 Jan 2025 22:49:32 +0800 Subject: [PATCH] Code refine --- .../gluten/execution/VeloxOrcDataTypeValidationSuite.scala | 3 ++- .../gluten/execution/VeloxParquetDataTypeValidationSuite.scala | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxOrcDataTypeValidationSuite.scala b/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxOrcDataTypeValidationSuite.scala index c13a2d48d615..e47524ce9219 100644 --- a/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxOrcDataTypeValidationSuite.scala +++ b/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxOrcDataTypeValidationSuite.scala @@ -287,7 +287,8 @@ class VeloxOrcDataTypeValidationSuite extends VeloxWholeStageTransformerSuite { } // Validation: ShuffledHashJoin. - withSQLConf("spark.gluten.sql.columnar.forceShuffledHashJoin" -> "true", + withSQLConf( + "spark.gluten.sql.columnar.forceShuffledHashJoin" -> "true", "spark.sql.autoBroadcastJoinThreshold" -> "-1") { runQueryAndCompare( "select type1.date from type1," + diff --git a/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxParquetDataTypeValidationSuite.scala b/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxParquetDataTypeValidationSuite.scala index 2376552ebcdf..f1279229a926 100644 --- a/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxParquetDataTypeValidationSuite.scala +++ b/backends-velox/src/test/scala/org/apache/gluten/execution/VeloxParquetDataTypeValidationSuite.scala @@ -286,7 +286,8 @@ class VeloxParquetDataTypeValidationSuite extends VeloxWholeStageTransformerSuit } // Validation: ShuffledHashJoin. - withSQLConf("spark.gluten.sql.columnar.forceShuffledHashJoin" -> "true", + withSQLConf( + "spark.gluten.sql.columnar.forceShuffledHashJoin" -> "true", "spark.sql.autoBroadcastJoinThreshold" -> "-1") { runQueryAndCompare( "select type1.date from type1," +