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

[Rust][DataFusion] Implement date_trunc() function #28185

Closed
asfimport opened this issue Apr 14, 2021 · 1 comment
Closed

[Rust][DataFusion] Implement date_trunc() function #28185

asfimport opened this issue Apr 14, 2021 · 1 comment

Comments

@asfimport
Copy link
Collaborator

Implement the date_trunc function, as described in this PostGres manual:

https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC

 

This would allow for the following use cases to be solved:

  • casting of timestamps to other resolutions, such as millis and micros

  • rounding dates/timestamps 

    It also allows the user to explicitly allow the truncation of timestamp precision.

Reporter: Evan Chan / @velvia

Note: This issue was originally created as ARROW-12391. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Andrew Lamb / @alamb:
Migrated to github: apache/datafusion#203

@asfimport asfimport added this to the 5.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant