openinx commented on a change in pull request #1815:
URL: https://github.com/apache/iceberg/pull/1815#discussion_r530225243



##########
File path: flink/src/main/java/org/apache/iceberg/flink/FlinkCatalog.java
##########
@@ -619,7 +624,25 @@ public void alterPartitionColumnStatistics(ObjectPath 
tablePath, CatalogPartitio
   @Override
   public List<CatalogPartitionSpec> listPartitions(ObjectPath tablePath)
       throws CatalogException {
-    throw new UnsupportedOperationException();
+    Table table = icebergCatalog.loadTable(toIdentifier(tablePath));

Review comment:
       Better to use the `FlinkCatalog#loadIcebergTable`,  because it's wrapped 
to throw a `TableNotExistException` for flink.




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



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

Reply via email to