Skip to content

fix(spark): casting date/time requires timezone#318

Merged
Blizzara merged 1 commit intosubstrait-io:mainfrom
andrew-coleman:timezone
Dec 19, 2024
Merged

fix(spark): casting date/time requires timezone#318
Blizzara merged 1 commit intosubstrait-io:mainfrom
andrew-coleman:timezone

Conversation

@andrew-coleman
Copy link
Copy Markdown
Member

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 <andrew_coleman@uk.ibm.com>
@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
@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