You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/03 04:15:30 UTC

[GitHub] [arrow-datafusion] Ted-Jiang commented on a change in pull request #1901: support extract second and minute in expr.

Ted-Jiang commented on a change in pull request #1901:
URL: https://github.com/apache/arrow-datafusion/pull/1901#discussion_r818300178



##########
File path: datafusion-physical-expr/src/datetime_expressions.rs
##########
@@ -351,6 +351,8 @@ pub fn date_part(args: &[ColumnarValue]) -> Result<ColumnarValue> {
     let arr = match date_part.to_lowercase().as_str() {
         "hour" => extract_date_part!(array, temporal::hour),
         "year" => extract_date_part!(array, temporal::year),
+        "minute" => extract_date_part!(array, temporal::minute),

Review comment:
       Thanks, i will a 'mount 'API  in arrow-rs




-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org