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 timezone issue in date_diff #8540

Closed
wants to merge 1 commit into from

Conversation

zacw7
Copy link
Contributor

@zacw7 zacw7 commented Jan 25, 2024

Summary:
In Presto Jave, timestamp with time zone is converted to timestamp as
GMT (simply drop the timezone field). Velox needs to match this
behavior.

Differential Revision: D53105892

Copy link

netlify bot commented Jan 25, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit c2ecda3
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/65b7d478afba9b0008c7b8ec

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 25, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53105892

Summary:
In Presto Jave, timestamp with time zone in date_diff is converted to
timestamp as GMT (simply drop the timezone field). Velox needs to match
this behavior.
Presto code ref: https://github.com/prestodb/presto/blob/0.286-edge17/presto-main/src/main/java/com/facebook/presto/operator/scalar/DateTimeFunctions.java#L500

Reviewed By: Yuhta

Differential Revision: D53105892
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53105892

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0698b7e.

Copy link

Conbench analyzed the 1 benchmark run on commit 0698b7e5.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants