Commit 7f31510
authored
fix(integ): repair two pre-existing IT failures on main (opensearch-project#5545)
QueryValidationIT.testAliasToKeywordMultiFieldFailsWithBadRequest: opensearch-project#5532 changed
the SQL error formatter to unwrap ErrorReport to its cause, so the reported type
is now the underlying SemanticCheckException, not the ErrorReport wrapper. Update
the expected error type to match. Query is still correctly rejected (400); only
the envelope type changed.
CalciteExplainIT.testNoMvBasic / testNoMvWithEval: the assertion scanned the full
logical+physical explain YAML for ARRAY_JOIN, but the physical section renders
differently with pushdown disabled (CalciteNoPushdownIT), making the test flaky
on some runners. nomv lowers to MVJOIN -> ARRAY_JOIN, which is stable in the
LOGICAL plan regardless of pushdown (verified with pushdown on and off). Assert
on the logical section only.
Signed-off-by: Eric Wei <mengwei.eric@gmail.com>1 parent 370c230 commit 7f31510
2 files changed
Lines changed: 27 additions & 7 deletions
File tree
- integ-test/src/test/java/org/opensearch/sql
- calcite/remote
- sql
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2888 | 2888 | | |
2889 | 2889 | | |
2890 | 2890 | | |
2891 | | - | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
2892 | 2895 | | |
2893 | | - | |
2894 | | - | |
| 2896 | + | |
| 2897 | + | |
2895 | 2898 | | |
2896 | 2899 | | |
2897 | 2900 | | |
| |||
2901 | 2904 | | |
2902 | 2905 | | |
2903 | 2906 | | |
2904 | | - | |
| 2907 | + | |
2905 | 2908 | | |
2906 | | - | |
2907 | | - | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
2908 | 2925 | | |
2909 | 2926 | | |
2910 | 2927 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
0 commit comments