Replies: 1 comment
-
The $at_timezone function is an internal engine function used to implement the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have come across this error in trino which is throwing error when I run query with select at_timezone(current_time,"+-4") but same thing works when I run at_timezone(current_timestamp,"+-4") or when I pass $ with argument it also works like -select at_timezone($current_time,"+-4"). I see value diff between function at_timezone in files files timetz/AtTimezone and timestamptz/AtTimezone. In timetz at_timezone function has value @ScalarFunction(value = "$at_timezone", hidden = true) whereas in timestamptz/AtTimezone there is no $ sign and hidden true. I wanted to understand the significance of $ in timetz/AtTimezone and hidden=true.
Beta Was this translation helpful? Give feedback.
All reactions