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

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

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

   > If granularity parameter is smaller than second, e.g. millisecond, or nanosecond, what is the expected behavior? Returns original input, or throws an error?
   
   I would think returning the original would make the most sense and still be accurate. But it definitely wouldn't be very useful 🤔 


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