I am using calcite library to query my data using API , I found function called TO_TIMESTAMP https://calcite.apache.org/docs/reference.html but when I called it give exception that there are no function with this signature
what I try to do :
SELECT TO_TIMESTAMP(cast(ORGINALTIMESTAMP as varchar),cast('yyyy-MM-dd HH:mm:ss' as varchar)) as TEST from my_table
the exception that I got :
No match found for function signature TO_TIMESTAMP(<CHARACTER>, <CHARACTER>)
any idea what is the wrong that I am doing ?