-
Notifications
You must be signed in to change notification settings - Fork 356
Closed as not planned
Labels
Description
Feature Request / Improvement
During testing of 0.7.0rc1, I noticed timestamp downcast errors, introduced as part of #848.
I'd like to have a way to programmatically configure timestamp downcast in the python API without relying on environment variables or a yaml configuration file.
I would have assumed that something like
from pyiceberg.table import DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE
catalog = ...
table = catalog.create_table(
...
properties={DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE: True},
)
or
from pyiceberg.table import DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE
catalog = load_catalog(
...,
**{
DOWNCAST_NS_TIMESTAMP_TO_US_ON_WRITE: "True",
}
)
would have been the proper way to configure it, but it doesn't seem to take in either case.
sungwy