-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
featureNew feature or requestNew feature or requeststatus-triage_doneInitial triage done, will be further handled by the driver teamInitial triage done, will be further handled by the driver team
Description
What is the current behavior?
TimestampType only take timezone argument, not the precision argument that is available on the underlying snowflake type. https://docs.snowflake.com/en/sql-reference/data-types-datetime
What is the desired behavior?
They should take both, e.g. TimestampType(precision=6) to get a microsecond rather than nanosecond precision time.
How would this improve snowflake-snowpark-python?
Better mapping onto the full set of snowflake types. Additionally, with iceberg v2 only supporting microsecond precision, it is easy to accidentally lose precision when writing to iceberg table. This helps make that more explicit.
References, Other Background
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requeststatus-triage_doneInitial triage done, will be further handled by the driver teamInitial triage done, will be further handled by the driver team