Skip to content

SQL: Introduce date/time interval #29990

@elasticmachine

Description

@elasticmachine

Original comment by @costin:

SQL supports the INTERVAL as a keyword for specifying what in ES would be TimeUnits. This comes in handy for doing validation right in the parser instead of passing strings around while increasing verbosity.

Interval works nicely with date/time arithmetic (which we don't support yet) and date histograms (for specifying parameters).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions