friendlymatthew commented on issue #14638:
URL: https://github.com/apache/datafusion/issues/14638#issuecomment-2661249660

   > It seems that `Date32`/`Date64` doesn't support TZ, so if we want to 
support the cast, we should add TZ to `Date32/Date64` firstly?
   
   I'm not sure if `Date` types should be time-zone aware. Postgres has a 
similar `Date` time and [does not allow dates with associated time 
zones](https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-TIMEZONES:~:text=Although%20the%20date%20type%20cannot%20have%20an%20associated%20time%20zone%2C%20the%20time%20type%20can.).
 
   
   However when casting a `Date` into a `Timestamp`, we should definitely 
support various time zones! I've posted a PR [for 
that](https://github.com/apache/arrow-rs/pull/7141).
   
   


-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to