jackye1995 commented on code in PR #4423:
URL: https://github.com/apache/iceberg/pull/4423#discussion_r897496957


##########
aws/src/main/java/org/apache/iceberg/aws/glue/GlueCatalog.java:
##########
@@ -514,4 +524,17 @@ public void setConf(Configuration conf) {
   protected Map<String, String> properties() {
     return catalogProperties == null ? ImmutableMap.of() : catalogProperties;
   }
+
+  private boolean isTablePurged(TableIdentifier identifier, FileIO 
tableFileIO) {
+    Table table = glue.getTable(GetTableRequest.builder()
+        .catalogId(awsProperties.glueCatalogId())
+        .databaseName(identifier.namespace().toString())

Review Comment:
   use `getDatabaseName` util, same as below



##########
aws/src/main/java/org/apache/iceberg/aws/glue/GlueCatalog.java:
##########
@@ -514,4 +524,17 @@ public void setConf(Configuration conf) {
   protected Map<String, String> properties() {
     return catalogProperties == null ? ImmutableMap.of() : catalogProperties;
   }
+
+  private boolean isTablePurged(TableIdentifier identifier, FileIO 
tableFileIO) {
+    Table table = glue.getTable(GetTableRequest.builder()
+        .catalogId(awsProperties.glueCatalogId())
+        .databaseName(identifier.namespace().toString())

Review Comment:
   use `getDatabaseName` util, same for the line below



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