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 2021/04/13 22:49:19 UTC

[GitHub] [arrow] returnString commented on pull request #10005: ARROW-12232: [Rust][DataFusion] Add SQL support for CAST(.. AS Time) millisecond

returnString commented on pull request #10005:
URL: https://github.com/apache/arrow/pull/10005#issuecomment-819101432


   
   > > One thing to think about is are there SQL types that correspond to timestamp seconds/micros.
   > 
   > Yes, this is a hole in my mind as the Arrow types are more expressive than standard SQL types. Like there is no way now to create a CSV backed table in datafusion and say you want millisecond based timestamps.
   
   Postgres _sort of_ has a notion of explicit timestamp precision for its types that we could borrow, but it's done using the number of decimal places for fractional seconds rather than unit granularity. In practice though, I don't think this gets used much anyways 🤷‍♂️


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

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