You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/10/12 21:11:09 UTC

[GitHub] [iceberg] rdblue commented on pull request #1579: Remove time-zone dependent call when casting a date via toLocalDate in HiveIcebergFilterFactory

rdblue commented on pull request #1579:
URL: https://github.com/apache/iceberg/pull/1579#issuecomment-707347685


   The toString representation from Date is in the local zone. I don't think that it matters what the toString shows, as long as the actual value it gets converted to for Iceberg is correct. That's because Hive is responsible for translating "2020-11-12" into a Date however it chooses, but Iceberg should always use the date of the instant in UTC.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org