You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "rdblue (via GitHub)" <gi...@apache.org> on 2023/02/28 17:04:16 UTC

[GitHub] [iceberg] rdblue commented on a diff in pull request #6946: Python: Fix timezone concat issue

rdblue commented on code in PR #6946:
URL: https://github.com/apache/iceberg/pull/6946#discussion_r1120438489


##########
python/pyiceberg/io/pyarrow.py:
##########
@@ -391,7 +391,7 @@ def visit_timestamp(self, _: TimestampType) -> pa.DataType:
         return pa.timestamp(unit="us")
 
     def visit_timestampz(self, _: TimestamptzType) -> pa.DataType:
-        return pa.timestamp(unit="us", tz="+00:00")
+        return pa.timestamp(unit="us", tz="UTC")

Review Comment:
   Why change all uses to UTC rather than +00:00? Aren't these the same thing?



-- 
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: issues-unsubscribe@iceberg.apache.org

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