Commit e284b2c
committed
[SPARK-50525][SQL][TESTS][FOLLOWUP] Fix
### What changes were proposed in this pull request?
This is a follow-up to recover the NON-ANSI mode CI failure by adding a test assumption clearly.
- #49144
### Why are the changes needed?
**BEFORE**
```
$ SPARK_ANSI_SQL_MODE=false build/sbt "sql/testOnly *.DataFrameSuite -- -z MapType"
[info] *** 1 TEST FAILED ***
[error] Failed tests:
[error] org.apache.spark.sql.DataFrameSuite
```
**AFTER**
```
$ SPARK_ANSI_SQL_MODE=false build/sbt "sql/testOnly *.DataFrameSuite -- -z MapType"
[info] All tests passed.
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually test with `SPARK_ANSI_SQL_MODE=false`.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #49457 from dongjoon-hyun/SPARK-50525.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>DataFrameSuite.repartition by MapType test assumption1 parent 898f7af commit e284b2c
File tree
1 file changed
+17
-15
lines changed- sql/core/src/test/scala/org/apache/spark/sql
1 file changed
+17
-15
lines changedLines changed: 17 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
448 | 450 | | |
449 | 451 | | |
450 | 452 | | |
| |||
0 commit comments