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(sparksql): Consider session timezone when casting timestamp to varchar #11958

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

PHILO-HE
Copy link
Contributor

@PHILO-HE PHILO-HE commented Dec 25, 2024

This PR fixes the behavior of casting timestamp to varchar by considering the
configured timezone. This is for semantic alignment with Spark.

@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 Dec 25, 2024
Copy link

netlify bot commented Dec 25, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 7d6743c
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6772095dca061e0008d2ac2c

@PHILO-HE PHILO-HE force-pushed the fix-timestamp-to-string branch from 35a6511 to 003d964 Compare December 25, 2024 12:49
@PHILO-HE PHILO-HE force-pushed the fix-timestamp-to-string branch from 003d964 to 6015eaf Compare December 25, 2024 13:06
@PHILO-HE PHILO-HE changed the title fix(sparksql): Use session timezone when casting timestamp to varchar fix(sparksql): Consider session timezone when casting timestamp to varchar Dec 26, 2024
@PHILO-HE
Copy link
Contributor Author

PHILO-HE commented Dec 26, 2024

@rui-mo, could you take a look?

Gluten PR for validation: apache/incubator-gluten#8338.

Copy link
Collaborator

@rui-mo rui-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@rui-mo rui-mo added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Dec 31, 2024
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. ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants