Skip to content

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

Merged
vkorukanti merged 1 commit into
delta-io:masterfrom
vkorukanti:fixTest
Jun 21, 2024
Merged

[Kernel][Tests] Fix test failure when running in non-UTC tz env#3289
vkorukanti merged 1 commit into
delta-io:masterfrom
vkorukanti:fixTest

Conversation

@vkorukanti

@vkorukanti vkorukanti commented Jun 21, 2024

Copy link
Copy Markdown
Collaborator

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
@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