Skip to content

Commit

Permalink
Update IcebergTableListenerEventFilter, checking case of letter
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza Jugon committed Nov 15, 2024
1 parent c1dd9cb commit 418747d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public boolean isFiltered(ListenerEvent event, LifecycleEventType type) {
String tableType = tableParameters.get(TABLE_TYPE_KEY);

if ((format != null && FORMAT_ICEBERG_VALUE.equalsIgnoreCase(format)) ||
(tableType != null && tableType.contains(TABLE_TYPE_ICEBERG_VALUE.toLowerCase(Locale.ROOT)))) {
(tableType != null && tableType.toLowerCase(Locale.ROOT).contains(TABLE_TYPE_ICEBERG_VALUE.toLowerCase(Locale.ROOT)))) {
log.info("Ignoring Iceberg table '{}.{}'.", event.getDbName(), event.getTableName());
return true;
}
Expand Down

0 comments on commit 418747d

Please sign in to comment.