SNOW-1761247: Support TIME and TIMESTAMP second-precision #2500
Labels
feature
New feature or request
status-triage_done
Initial triage done, will be further handled by the driver team
What is the current behavior?
Currently, Snowpark's
TimeType
andTimestampType
types are converted to Snowflake'stime
andtimestamp
types with the default 9 decimals (nanosecond) precision. There is no possibility to specify the precision like we can do in Snowflake.What is the desired behavior?
Support second precision in these types. API would probably look like this
TimeType(6)
.How would this improve
snowflake-snowpark-python
?It would make it easier to work with iceberg tables, since they only support microseconds precision.
The text was updated successfully, but these errors were encountered: