You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/09 01:49:51 UTC

[GitHub] [flink] godfreyhe commented on a change in pull request #8962: [FLINK-13076] [table-planner-blink] Bump Calcite dependency to 1.20.0 in blink planner

godfreyhe commented on a change in pull request #8962: [FLINK-13076] [table-planner-blink] Bump Calcite dependency to 1.20.0 in blink planner
URL: https://github.com/apache/flink/pull/8962#discussion_r301366712
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/functions/sql/FlinkSqlOperatorTable.java
 ##########
 @@ -1148,9 +1162,21 @@ public SqlMonotonicity getMonotonicity(SqlOperatorBinding call) {
 	public static final SqlFunction PI = SqlStdOperatorTable.PI;
 	public static final SqlFunction RAND = SqlStdOperatorTable.RAND;
 	public static final SqlFunction RAND_INTEGER = SqlStdOperatorTable.RAND_INTEGER;
+	public static final SqlFunction TRUNCATE = SqlStdOperatorTable.TRUNCATE;
+
+	// TIME FUNCTIONS
+	public static final SqlFunction YEAR = SqlStdOperatorTable.YEAR;
 
 Review comment:
   supports expression like `EXTRACT(YEAR FROM f)`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services