Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jun 17, 2024
1 parent c21fad2 commit 46cde2c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 46cde2c

Please sign in to comment.