Skip to content

Conversation

@appletreeisyellow
Copy link
Contributor

Which issue does this PR close?

Part of #8899

Rationale for this change

date_trunc panics when time is ambiguous between "daylight saving time" and standard time

What changes are included in this PR?

Instead panic, return an "not yet implemented" error with workaround suggestion.

Are these changes tested?

Yes, included more tests

Are there any user-facing changes?

Yes, user will no longer get panic, but a clearer error with workaround suggestion

@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Jan 30, 2024
@appletreeisyellow appletreeisyellow marked this pull request as ready for review January 30, 2024 00:40
@appletreeisyellow
Copy link
Contributor Author

Fixed in #9068

@appletreeisyellow appletreeisyellow deleted the chunchun/date_trunc-ambiguous-time branch January 30, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant