wuwenchi commented on code in PR #5120:
URL: https://github.com/apache/iceberg/pull/5120#discussion_r909290833


##########
flink/v1.15/flink/src/main/java/org/apache/iceberg/flink/FlinkCatalog.java:
##########
@@ -619,12 +630,17 @@ public void alterPartition(ObjectPath tablePath, 
CatalogPartitionSpec partitionS
 
   @Override
   public List<String> listFunctions(String dbName) throws CatalogException {
-    return Collections.emptyList();
+    return Lists.newArrayList(partitionFunctions.keySet());

Review Comment:
   This interface will show all the functions under the current iceberg 
catalog. My idea is that these functions are registered under the iceberg 
catalog level, and all databases under the current iceberg catalog can be used. 
If the user uses a non-iceberg catalog, these functions are not visible.   I 
think the access boundary of these functions is the catalog level, so is it 
possible to not need to display or limit the database?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to