myandpr opened a new pull request, #21102:
URL: https://github.com/apache/datafusion/pull/21102
## Which issue does this PR close?
- Fixes CI breakage on main introduced by #20965.
## 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]