-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Presently, show timezone does not work:
DataFusion CLI v11.0.0
❯ show time zone;
NotImplemented(“SHOW time.zone not implemented. Supported syntax: SHOW <TABLES>“)
Describe the solution you'd like
Instead, I would like:
show timezone;
To always return 'utc'.
set timezone 'utc';
Should succeed.
set timezone 'UTC+08`;
should return an error.
and
set timezone 'US/Mountain`;
should return the same error.
This should:
- make the work @waitingkuo is doing easier by ignoring non-UTC zones for now
- Stay technically compatible with ANSI SQL & postgres (as long as postgres is set to UTC)
- allow the option to implement timezones at a future date.
PS:
Do the same for select current_setting('TIMEZONE')
Describe alternatives you've considered
- Having to violate ANSI SQL
- Having to tackle timezones while implementing
timestamp without timezone
waitingkuo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request