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

All timestamp UDFs should accept nanoseconds / Date32 / Date64 #257

Merged
merged 6 commits into from
Mar 17, 2023

Conversation

jonmmease
Copy link
Collaborator

DataFusion won't automatically cast from timestamp nanos to timestamp millis due to precision loss. Therefore all of our timestamp UDFs should accept timestamp nanos, and perform the conversion internally if necessary.

@jonmmease jonmmease changed the title All timestamp UDFs should accept nanoseconds All timestamp UDFs should accept nanoseconds / Date32 / Date64 Mar 17, 2023
@jonmmease jonmmease merged commit 97b26f1 into main Mar 17, 2023
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.

1 participant