Skip to content

Commit

Permalink
Merge branch 'feature/prevent-actions-on-iceberg-tables' of https://g…
Browse files Browse the repository at this point in the history
…ithub.com/ExpediaGroup/beekeeper into feature/prevent-actions-on-iceberg-tables
  • Loading branch information
Hamza Jugon committed Nov 27, 2024
2 parents f94ba5d + 04bb806 commit 1206eb8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public boolean isFiltered(ListenerEvent event, LifecycleEventType type) {
Map<String, String> tableParameters = event.getTableParameters();

if (tableParameters != null) {
String metadataLocation = tableParameters.getOrDefault(METADATA_LOCATION_KEY,"");
String tableType = tableParameters.getOrDefault(TABLE_TYPE_KEY,"");
String metadataLocation = tableParameters.getOrDefault(METADATA_LOCATION_KEY, "");
String tableType = tableParameters.getOrDefault(TABLE_TYPE_KEY, "");

boolean hasMetadataLocation = !metadataLocation.trim().isEmpty();
boolean isIcebergType = tableType.toLowerCase().contains(TABLE_TYPE_ICEBERG_VALUE);
Expand Down

0 comments on commit 1206eb8

Please sign in to comment.