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/07/30 13:43:46 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #2979: to_timestamp timeunit to be consistent with postgrseql's

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

   Hi @waitingkuo  -- I think given the desire to make datafusion "A Declarative SQL query interface compatible with PostgreSQL" as described on https://arrow.apache.org/datafusion/specification/roadmap.html#datafusion compatible changing the current `to_timestamp` to be `to_timestamp_nanos()` and changing `to_timestamp()` to be the same as the current `to_timestamp_seconds` would be reasonable
   
   Here are the docs, in case anyone is interested
   
   https://github.com/apache/arrow-datafusion/blob/2598893ac7737e92b3be7b74f606280b32264e0e/docs/source/user-guide/sql/datafusion-functions.md#to_timestamp


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