bepec commented on issue #2270:
URL:
https://github.com/apache/iceberg-python/issues/2270#issuecomment-3474658473
Hi @kevinjqliu - it seems all related changes are included in 0.10.0
release, but this snippet still doesn't work?
```
# Create a pyarrow table with a timestampz column
table = pa.Table.from_arrays(
[pa.array([datetime.now()], type=pa.timestamp("ms",
tz='America/New_York'))], names=["timestamps"]
)
catalog.create_table("ns.table2", schema=table.schema,
properties={"format-version": "3"})
```
Sorry for bothering after issue is resolved, I just ran across with
impression that non-UTC timezones should be supported.
But then checked Iceberg specification and it only supports timestamps with
tz=UTC - so this example isn't something that should work, is that
understanding correct?
https://py.iceberg.apache.org/reference/pyiceberg/types/#pyiceberg.types.TimestamptzType
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]