Commit 8a9653c
authored
Add regression coverage for DATE interval overflow (#22519)
## Summary
- add sqllogictest coverage for DATE + INTERVAL day overflow near the
Date32 boundary
- assert the issue repro returns the existing `Date arithmetic overflow`
error instead of panicking
Closes #22233.
## Notes
Current upstream `main` already returns the expected overflow error for
this repro, so this PR is regression coverage only.
## Tests
- `cargo test -p datafusion-expr-common test_overflow_handling --
--nocapture`
- `cargo test --profile=ci --test sqllogictests --
datetime/arith_date_interval.slt`
Co-authored-by: Puneet Dixit <puneetdixit200@users.noreply.github.com>1 parent d54f969 commit 8a9653c
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments