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(spark): casting date/time requires timezone #318

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

andrew-coleman
Copy link
Contributor

When casting a date type to a string, Spark requires that a timezone is specified, otherwise it will not resolve the logical plan.
The timezone is ignored for non-date/time values.

@andrew-coleman andrew-coleman marked this pull request as draft November 27, 2024 16:44
When casting a date type to a string, Spark requires that a timezone is specified,
otherwise it will not resolve the logical plan.
The timezone is ignored for non-date/time values.

Signed-off-by: Andrew Coleman <[email protected]>
@andrew-coleman andrew-coleman marked this pull request as ready for review November 27, 2024 17:06
@Blizzara Blizzara merged commit af5a615 into substrait-io:main Dec 19, 2024
13 checks passed
@andrew-coleman andrew-coleman deleted the timezone branch December 19, 2024 13:37
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