Skip to content

Conversation

@martint
Copy link
Member

@martint martint commented Dec 2, 2025

Add support grammar support for arbitrary precision interval qualifiers in preparation for implementing
arbitrary precision intervals, as described by the SQL specification.

There's no functional difference from the existing implementation aside changes to parsing and semantic errors when the intervals are not compatible with what we currently support.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Dec 2, 2025
@martint martint requested a review from kasiafi December 2, 2025 23:17
@github-actions github-actions bot added the faker Faker connector label Dec 2, 2025
Copy link
Member

@findepi findepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(skim)

The structure can represent both year-month and day-time intervals
Add grammar support for standard SQL interval qualifier syntax
in preparation for supporting arbitrary precision intervals.

Currently, all day-time intervals are evaluated as DAY TO SECOND intervals,
while year-month intervals are evaluated as YEAR TO MONTH intervals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed faker Faker connector

Development

Successfully merging this pull request may close these issues.

2 participants