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:
[email protected]


With regards,
Apache Git Services

Reply via email to