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

Fix to_utc_timestamp and from_utc_timestamp fallback when TZ is supported time zone #10223

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

res-life
Copy link
Collaborator

@res-life res-life commented Jan 19, 2024

closes #10222

to_utc_timestamp and from_utc_timestamp are not time zone aware. It means they are not related to session time zone.
They both take a timezone parameter, usage:

  • from_utc_timestamp(ts_col, tz)
  • to_utc_timestamp(ts_col, tz)
    So should not check the session time zone, only check time zone in the parameter is enough.

Signed-off-by: Chong Gao res_life@163.com

…rted time zone

Signed-off-by: Chong Gao <res_life@163.com>
@res-life res-life self-assigned this Jan 19, 2024
@res-life
Copy link
Collaborator Author

build

@res-life res-life merged commit 787a74c into NVIDIA:branch-24.02 Jan 19, 2024
41 checks passed
@res-life res-life deleted the fix-utc-timestamp branch January 19, 2024 09:53
@sameerz sameerz added the bug Something isn't working label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] to_utc_timestamp and from_utc_timestamp fallback when TZ is supported time zone
3 participants