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/12 22:15:59 UTC

[GitHub] [arrow-datafusion] viirya commented on issue #6653: `date_trunc` always returns `Timestamp(Nanosecond, None)` which might truncate ranges

viirya commented on issue #6653:
URL: https://github.com/apache/arrow-datafusion/issues/6653#issuecomment-1588182881

   > date_trunc(Timestamp(Second, ..)) --> Timestamp(Second, None)
   
   If `granularity` parameter is smaller than second, e.g. millisecond, or nanosecond, what is the expected behavior? Returns original input, or throws an error?


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