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

[Kernel][Tests] Fix test failure when running in non-UTC tz env #3289

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

vkorukanti
Copy link
Collaborator

@vkorukanti vkorukanti commented Jun 21, 2024

Description

Currently, Spark interprets the timestamp partition columns in the local zone and Kernel in UTC. Delta protocol specifies no details on what timezone to use. This is a known issue and in Kernel we decided to always interpret as UTC to avoid timezone issues. Fix here is when getting the expected results using Spark, set the timezone to UTC to get the same values as Kernel.

How was this patch tested?

Ran locally on Pacific timezone test env

@vkorukanti vkorukanti merged commit 6b01387 into delta-io:master Jun 21, 2024
10 checks passed
@vkorukanti vkorukanti deleted the fixTest branch July 12, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants