Commit 18b9bd9
[SPARK-43945][SQL][TESTS] Fix bug for
### What changes were proposed in this pull request?
The pr aims to fix bug for SQLQueryTestSuite when run on local env.
When SQLQueryTestSuite runs `identifier-clause.sql` in various different environments, the statement `DESCRIBE SCHEMA IDENTIFIER('id' || 'ent')` will generate different `Owner` values. Currently, this value(`runner`) is OK when runs on GA, but it will fail on local. In order to be compatible with the results of various different environments, the `Owner` value is removed for comparison.
### Why are the changes needed?
Fix bugs and compatibility.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Manually test.
- Pass GA.
Closes #41431 from panbingkun/fix_SQLQueryTestSuite_run_on_local.
Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>SQLQueryTestSuite when run on local env1 parent c3b6270 commit 18b9bd9
File tree
2 files changed
+2
-1
lines changed- sql/core/src/test
- resources/sql-tests/results
- scala/org/apache/spark/sql
2 files changed
+2
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
| 538 | + | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments