RFC: Always treat the argument of to_timestamp(<number>)
as microsecs
#8160
andylokandy
started this conversation in
General
Replies: 1 comment 4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
to_timestamp
in Snowflake and Databend treats its argument as seconds, milliseconds, or micros depending on the number scale (detailed spec). Because the user has to control the behavior with the input value, it may not be error-prone enough, especially when converting a column of values. Therefore, I propose to fix the argument to microsecs.Beta Was this translation helpful? Give feedback.
All reactions