Skip to content

[datafusion-spark] Support year-month interval and day-time interval in spark sqllogictest #18793

Description

@hsiang-c

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) 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions