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

[FEA] Add string parameter support for unix_timestamp for non-UTC time zones #10079

Closed
NVnavkumar opened this issue Dec 19, 2023 · 0 comments · Fixed by #10210
Closed

[FEA] Add string parameter support for unix_timestamp for non-UTC time zones #10079

NVnavkumar opened this issue Dec 19, 2023 · 0 comments · Fixed by #10210
Assignees
Labels
feature request New feature or request

Comments

@NVnavkumar
Copy link
Collaborator

NVnavkumar commented Dec 19, 2023

unix_timestamp supports string type for the first argument in addition to timestamp type. In this case, it would parse the string to a timestamp and then convert the result to seconds from the epoch. We currently support this case for UTC, but we should also support this case for a non-UTC timezone. This is similar to the requirements for to_date (#9927) and to_timestamp (#10006) which use the same internal code path.

@NVnavkumar NVnavkumar added feature request New feature or request ? - Needs Triage Need team to review and classify labels Dec 19, 2023
@NVnavkumar NVnavkumar changed the title [FEA] Add string parameter support for from_unixtime for non-UTC timezones [FEA] Add string parameter support for from_unixtime for non-UTC time zones Dec 19, 2023
@NVnavkumar NVnavkumar changed the title [FEA] Add string parameter support for from_unixtime for non-UTC time zones [FEA] Add string parameter support for unixtime for non-UTC time zones Dec 19, 2023
@NVnavkumar NVnavkumar changed the title [FEA] Add string parameter support for unixtime for non-UTC time zones [FEA] Add string parameter support for unix_timestamp for non-UTC time zones Dec 19, 2023
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Dec 19, 2023
@razajafri razajafri assigned razajafri and winningsix and unassigned razajafri Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants