bowenli86 commented on a change in pull request #9988: [FLINK-14418][hive] 
Create HiveModule to provide Hive built-in functions
URL: https://github.com/apache/flink/pull/9988#discussion_r341667362
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShimV110.java
 ##########
 @@ -294,4 +296,19 @@ public boolean isDateStats(ColumnStatisticsData 
colStatsData) {
        public CatalogColumnStatisticsDataDate 
toFlinkDateColStats(ColumnStatisticsData hiveDateColStats) {
                throw new UnsupportedOperationException("DATE column stats are 
not supported until Hive 1.2.0");
        }
+
+       @Override
+       public Set<String> listBuiltInFunctions() {
+               // FunctionInfo doesn't have isBuiltIn() API to tell whether 
it's a builtin function or not
+               // prior to Hive 1.2.0
+               throw new UnsupportedOperationException("Listing built in 
functions are not supported until Hive 1.2.0");
 
 Review comment:
   unfortunately no, persistent function is also native

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