Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Nov 11, 2024
1 parent 9d4885d commit ca06f05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,8 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
makeParquetFileAllTypes(path, dictionaryEnabled = dictionaryEnabled, 10000)
withParquetTable(path.toString, "tbl") {
checkSparkAnswerAndOperator(
"SELECT CAST(struct(_1, _2) as " +
"struct<_1:string, _2:string>) FROM tbl")
"SELECT CAST(CASE WHEN _1 THEN struct(_1, _2, _3, _4) ELSE null END as " +
"struct<_1:string, _2:string, _3:string, _4:string>) FROM tbl")
}
}
}
Expand Down

0 comments on commit ca06f05

Please sign in to comment.