Skip to content

[Bug]: Support SQL standard INTERVAL shorthand syntax + N days in date arithmetic. #24193

@Ariznawlll

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

e4637ad

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

-- Standard SQL shorthand (currently NOT supported)
SELECT cast('2000-08-10' as date) + 30 days;

-- INTERVAL syntax (currently supported)
SELECT cast('2000-08-10' as date) + interval 30 day;

Expected Behavior

No response

Steps to Reproduce

as above

Additional information

No response

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't workingseverity/s0Extreme impact: Cause the application to break down and seriously affect the use

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions