Hi SQL解析不通过的可以在 https://issues.apache.org/jira/projects/FLINK/issues 里面创建相关ticket指明出来,很快会有相关开发来帮助的。 不过需要注意的是,需要用英文进行阐述。
祝好 唐云 ________________________________ From: Dream-底限 <zhan...@akulaku.com> Sent: Friday, August 28, 2020 16:42 To: user-zh@flink.apache.org <user-zh@flink.apache.org> Subject: flink文档 hi、 哪位大佬可以把flink官方文档中的函数部分完善一下啊,函数下面配个应用方式可好,看文档我都不知道下面函数是怎么用的,有的可以直接用有的sql解析不通过,还得一个一个测。。。 Temporal functionsDescription DATE string Returns a SQL date parsed from *string* in form of "yyyy-MM-dd". TIME string Returns a SQL time parsed from *string* in form of "HH:mm:ss". TIMESTAMP string Returns a SQL timestamp parsed from *string* in form of "yyyy-MM-dd HH:mm:ss[.SSS]". INTERVAL string range Parses an interval *string* in the form "dd hh:mm:ss.fff" for SQL intervals of milliseconds or "yyyy-mm" for SQL intervals of months. An interval range might be DAY, MINUTE, DAY TO HOUR, or DAY TO SECOND for intervals of milliseconds; YEAR or YEAR TO MONTH for intervals of months. E.g., INTERVAL '10 00:00:00.004' DAY TO SECOND, INTERVAL '10' DAY, or INTERVAL '2-10' YEAR TO MONTH return intervals. CURRENT_DATE Returns the current SQL date in the UTC time zone. CURRENT_TIME Returns the current SQL time in the UTC time zone. CURRENT_TIMESTAMP Returns the current SQL timestamp in the UTC time zone. LOCALTIME Returns the current SQL time in local time zone. LOCALTIMESTAMP Returns the current SQL timestamp in local time zone.