`datafusion.execution.time_zone` is not used for basic time zone inference
Open
bug
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
### Describe the bug
I would expect that setting `SET datafusion.execution.time_zone = '+08:00'` would lead to `SELECT '2024-11-01T00:00:00.0+00:00'::timestamptz - '2024-11-01T00:00:00.0'::timestamp` to give `8 hours` (that is, the same as `SELECT '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 give `2024-11-01T00:00:00+08:00`.
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.