You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by Geoff nie <ge...@163.com> on 2021/08/16 03:47:15 UTC

关于flink时区问题


大佬,请教下,我执行如下语句,发现如下报错,这是lib下面少了什么jar包嘛还是?谢谢
Flink SQL> SELECT TO_TIMESTAMP_LTZ(4001, 3);
[ERROR] Could not execute SQL statement. Reason:
org.apache.calcite.sql.validate.SqlValidatorException: No match found for function signature TO_TIMESTAMP_LTZ(<NUMERIC>, <NUMERIC>)


Re:Re: 关于flink时区问题

Posted by Geoff nie <ge...@163.com>.
thanks,确实是我flink版本1.12版本,版本较低问题。

















在 2021-08-16 12:18:34,"Caizhi Weng" <ts...@gmail.com> 写道:
>Hi!
>
>TO_TIMESTAMP_LTZ 是 1.13 引入的新函数。请检查一下 Flink 版本。
>
>Geoff nie <ge...@163.com> 于2021年8月16日周一 上午11:47写道:
>
>>
>>
>> 大佬,请教下,我执行如下语句,发现如下报错,这是lib下面少了什么jar包嘛还是?谢谢
>> Flink SQL> SELECT TO_TIMESTAMP_LTZ(4001, 3);
>> [ERROR] Could not execute SQL statement. Reason:
>> org.apache.calcite.sql.validate.SqlValidatorException: No match found for
>> function signature TO_TIMESTAMP_LTZ(<NUMERIC>, <NUMERIC>)
>>
>>

Re: 关于flink时区问题

Posted by Caizhi Weng <ts...@gmail.com>.
Hi!

TO_TIMESTAMP_LTZ 是 1.13 引入的新函数。请检查一下 Flink 版本。

Geoff nie <ge...@163.com> 于2021年8月16日周一 上午11:47写道:

>
>
> 大佬,请教下,我执行如下语句,发现如下报错,这是lib下面少了什么jar包嘛还是?谢谢
> Flink SQL> SELECT TO_TIMESTAMP_LTZ(4001, 3);
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.calcite.sql.validate.SqlValidatorException: No match found for
> function signature TO_TIMESTAMP_LTZ(<NUMERIC>, <NUMERIC>)
>
>