-
Notifications
You must be signed in to change notification settings - Fork 298
Native error is not propagated to SparkException when errorClass is empty #3726
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
- sql-file: expressions/array/array_union.sql [parquet.enable.dictionary=false] *** FAILED *** (267 milliseconds)
java.lang.RuntimeException: Error executing SQL 'SELECT array_union(array(1, 2, 3), array(3, 4, 5)), array_union(array(1, 2), array()), array_union(array(), array(1)), array_union(cast(NULL as array<int>), array(1))'
at org.apache.comet.CometSqlFileTestSuite.$anonfun$runTestFile$3(CometSqlFileTestSuite.scala:129)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.apache.comet.CometSqlFileTestSuite.$anonfun$runTestFile$2(CometSqlFileTestSuite.scala:84)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1529)
at org.apache.spark.sql.test.SQLTestUtilsBase.withTable(SQLTestUtils.scala:306)
at org.apache.spark.sql.test.SQLTestUtilsBase.withTable$(SQLTestUtils.scala:304)
at org.apache.spark.sql.CometTestBase.withTable(CometTestBase.scala:55)
at org.apache.comet.CometSqlFileTestSuite.$anonfun$runTestFile$1(CometSqlFileTestSuite.scala:84)
at org.apache.spark.sql.catalyst.plans.SQLHelper.withSQLConf(SQLHelper.scala:54)
...
Cause: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 19.0 failed 1 times, most recent failure: Lost task 0.0 in stage 19.0 (TID 67) (localhost executor driver): org.apache.spark.SparkException: [INTERNAL_ERROR] Cannot find main error class ''
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working