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.
