-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
datafusion.execution.time_zone
is not used for basic time zone inference
#13212
Comments
cc @alamb I think you've written some tests for |
Yes, it's been on my radar for a while now. There are a number of issues around tz's some of which are generic tz issues, others are issues where using the default tz in config might be useful. A small but not complete list |
Someone can probably take a look at #13130, it seems to be done it just has a doc check error |
This may now be feasible after |
Describe the bug
I would expect that setting
SET datafusion.execution.time_zone = '+08:00'
would lead toSELECT '2024-11-01T00:00:00.0+00:00'::timestamptz - '2024-11-01T00:00:00.0'::timestamp
to give8 hours
(that is, the same asSELECT '2024-11-01T00:00:00.0+00:00'::timestamptz - '2024-11-01T00:00:00.0+08:00'::timestamptz
). Some things do work e.g.SELECT '2024-11-01T00:00:00.0'::timestamptz
does give2024-11-01T00:00:00+08:00
.To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: