velvia opened a new pull request #567:
URL: https://github.com/apache/arrow-datafusion/pull/567
# Which issue does this PR close?
Closes #355 .
# Rationale for this change
This PR implements the timestamp functions above in #355, basically
extending the following capabilities for all Timestamp types (specifically for
Millis, micros, and seconds) via the above named functions:
- Ability to convert timestamp strings to Timestamp type
- Ability to cast Int64 numeric arrays into equivalent Timestamp types
# What changes are included in this PR?
Pretty straightforward additions to `functions.rs`, `datetime_expressions`
etc.
What is NOT included so far but could be depending on discussion:
- Not sure where to add documentation for these functions
- It might be useful to users to be able to cast different Timestamp types
into others, for example, Timestamp-Nanos to Timestamp-Millis, and that would
be straightforward to add as well.
# Are there any user-facing changes?
Three new user-facing SQL functions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]