You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2023/06/11 20:41:38 UTC

[GitHub] [arrow-datafusion] viirya commented on a diff in pull request #6638: Return correct scalar types for date_trunc

viirya commented on code in PR #6638:
URL: https://github.com/apache/arrow-datafusion/pull/6638#discussion_r1225921305


##########
datafusion/physical-expr/src/datetime_expressions.rs:
##########
@@ -329,7 +329,7 @@ pub fn date_trunc(args: &[ColumnarValue]) -> Result<ColumnarValue> {
         }
         _ => {
             return Err(DataFusionError::Execution(
-                "array of `date_trunc` must be non-null scalar Utf8".to_string(),

Review Comment:
   This error message also doesn't read correctly.



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