Skip to content

Commit

Permalink
[SPARK-48355][SQL][TESTS][FOLLOWUP] Disable a test case failing on no…
Browse files Browse the repository at this point in the history
…n-ANSI mode

### What changes were proposed in this pull request?

This PR is a follow-up of #47672 to disable a test case failing on non-ANSI mode.

### Why are the changes needed?

To recover non-ANSI CI.

- https://github.com/apache/spark/actions/workflows/build_non_ansi.yml

### Does this PR introduce _any_ user-facing change?

No, this is a test-only change.

### How was this patch tested?

Manual review.

```
$ SPARK_ANSI_SQL_MODE=false build/sbt "sql/testOnly *.SqlScriptingInterpreterSuite"
...
[info] - simple case mismatched types !!! IGNORED !!!
[info] All tests passed.
[success] Total time: 24 s, completed Sep 14, 2024, 7:51:15 PM
```

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #48115 from dongjoon-hyun/SPARK-48355.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
dongjoon-hyun committed Sep 15, 2024
1 parent fa6a078 commit 1346531
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ class SqlScriptingInterpreterSuite extends QueryTest with SharedSparkSession {
verifySqlScriptResult(commands, expected)
}

test("simple case mismatched types") {
// This is disabled because it fails in non-ANSI mode
ignore("simple case mismatched types") {
val commands =
"""
|BEGIN
Expand Down

0 comments on commit 1346531

Please sign in to comment.