Skip to content

Commit

Permalink
Update beekeeper-scheduler-apiary/src/main/java/com/expediagroup/beek…
Browse files Browse the repository at this point in the history
…eeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java

Co-authored-by: Jay Green-Stevens <[email protected]>
  • Loading branch information
HamzaJugon and JayGreeeen authored Nov 27, 2024
1 parent bacd477 commit 04bb806
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 04bb806

Please sign in to comment.