You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "sungwy (via GitHub)" <gi...@apache.org> on 2024/08/01 00:44:40 UTC
Re: [I] Configure timestamp downcast programmatically [iceberg-python]
sungwy commented on issue #960:
URL: https://github.com/apache/iceberg-python/issues/960#issuecomment-2261726107
Hi @devinrsmith thank you again for raising this suggestion. I'm working on a similar property driven feature in https://github.com/apache/iceberg-python/pull/986 where I'm proposing that we load the pyarrow file IO config property into the table property as you suggest in the bottom proposal
For example, it will look like:
```
from pyiceberg.io import PYARROW_DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE
catalog = load_catalog(
...,
**{
PYARROW_DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE: "True",
}
)
```
When the proposed approach is accepted and merged, I will open a PR to suggest a similar configuration.
--
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