KurtYoung 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_r301367916
 
 

 ##########
 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:
   IIRC, this expression already supported with previous calcite version

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to