Hequn Cheng created FLINK-11342:
-----------------------------------
Summary: Add example for every built-In TableAPI&SQL Function
Key: FLINK-11342
URL:
https://issues.apache.org/jira/browse/FLINK-11342 Project: Flink
Issue Type: Improvement
Components: Table API & SQL
Affects Versions: 1.7.1, 1.7.0
Reporter: Hequn Cheng
There are a lot of built-in tableApi&SQL functions:
https://ci.apache.org/projects/flink/flink-docs-master/dev/table/functions.htmlTake {{TEMPORAL.extract(TIMEINTERVALUNIT)}} as an example, we have an example for it.
{code:java}
E.g., '2006-06-05'.toDate.extract(DAY) returns 5; '2006-06-05'.toDate.extract(QUARTER) returns 2.
{code}
The example is very helpful for users who are not familiar with the udf. And I think it would be great if we can add an example for every built-in function.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)