Commit 6796053
authored
test: update sqllogictest expectation for negation type coercion (#21102)
## Which issue does this PR close?
- Fixes CI breakage on main introduced by #20965.
link:
https://github.com/apache/datafusion/actions/runs/23406116823/job/68085237860
## Rationale for this change
#20965 moved invalid negation validation into the analyzer/type coercion
path.
After that change, the `SELECT -'100'` sqllogictest case now reports the
error through `type_coercion`, but `scalar.slt` was still expecting the
older error form. This follow-up updates the sqllogictest expectation to
match the current behavior.
## What changes are included in this PR?
- update the `scalar.slt` expectation for `SELECT -'100'`
- keep the expected error aligned with the analyzer/type coercion error
shape introduced by #20965
## Are these changes tested?
Yes.
I reproduced the failure locally and verified the updated expectation
with:
- `cargo test -p datafusion-sqllogictest --test sqllogictests -- scalar`
## Are there any user-facing changes?
No.
Signed-off-by: yaommen <myanstu@163.com>1 parent 646d183 commit 6796053
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1764 | 1764 | | |
1765 | 1765 | | |
1766 | 1766 | | |
1767 | | - | |
| 1767 | + | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | 1770 | | |
| |||
0 commit comments