[datafusion-spark] Support year-month interval and day-time interval in spark sqllogictest
Open
enhancement
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
### Is your feature request related to a problem or challenge?
Apache Spark supports 2 ANSI interval types: `DayTimeIntervalType` and `YearMonthIntervalType` and many Spark functions (e.g. [abs](https://github.com/apache/datafusion/pull/18205)) take ANSI interval types.
It would be great to support them in SLT tests.
### Describe the solution you'd like
Able to test `SELECT abs(INTERVAL -'1-1' YEAR TO MONTH);` in SLT.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.