Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TIME WITHOUT TIME ZONE syntax #1130

Open
RCHowell opened this issue Jun 16, 2023 · 0 comments
Open

Support TIME WITHOUT TIME ZONE syntax #1130

RCHowell opened this issue Jun 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@RCHowell
Copy link
Member

RCHowell commented Jun 16, 2023

Relevant Issue/Bug

We currently do not support the explicit WITHOUT TIME ZONE syntax defined by SQL-99

Requested Solution/Feature

Support SQL-99 grammar for timezone

<datetime type> ::= DATE
                   | TIME [ <left paren> <time precision> <right paren> ] [ <with or without time zone> ]
                   | TIMESTAMP [ <left paren> <timestamp precision> <right paren> ] [ <with or without time zone> ]

<with or without time zone> ::= WITH TIME ZONE
                              | WITHOUT TIME ZONE

Describe Alternatives

..

Additional Context

Today, WITHOUT is implicit. SQL-99 p.26 describes the alternatives

  • Implicit WITH TIME 00:00:00+ZZ:ZZ
  • Implicit WITHOUT TIME 00:00:00
  • Explicit WITH TIME WITH TIME ZONE 00:00:00+ZZ:ZZ
  • Explicit WITHOUT TIME WITHOUT TIME ZONE 00:00:00 !! MISSING !!

DoD (Definition of Done)

Support syntax for explicit WITHOUT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant