From 46cde2c6aeb56cd1907b7b017b5595d9a4ec962f Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Mon, 17 Jun 2024 11:55:11 +0800 Subject: [PATCH] fixup --- .../sql/errors/GlutenQueryExecutionErrorsSuite.scala | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/errors/GlutenQueryExecutionErrorsSuite.scala b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/errors/GlutenQueryExecutionErrorsSuite.scala index 8896541c29d2..c25e65cf0b68 100644 --- a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/errors/GlutenQueryExecutionErrorsSuite.scala +++ b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/errors/GlutenQueryExecutionErrorsSuite.scala @@ -16,11 +16,20 @@ */ package org.apache.spark.sql.errors +import org.apache.spark.SparkConf import org.apache.spark.sql.GlutenSQLTestsBaseTrait class GlutenQueryExecutionErrorsSuite extends QueryExecutionErrorsSuite with GlutenSQLTestsBaseTrait { + + override def sparkConf: SparkConf = { + // Disables VeloxAppendBatches in which GeneralOutIterator wraps vanilla Spark's exceptions + // with GlutenException. + super.sparkConf + .set("spark.gluten.sql.columnar.backend.velox.coalesceBatchesBeforeShuffle", "false") + } + override protected def getResourceParquetFilePath(name: String): String = { getWorkspaceFilePath("sql", "core", "src", "test", "resources").toString + "/" + name }