DBZ-5988 Impose null check on schema and name values prior to applying lowercase operation
This commit is contained in:
parent
44bcedaa72
commit
90cd3fdb6d
@ -1114,8 +1114,8 @@ private static class SystemTablesPredicate implements TableFilter {
|
||||
|
||||
@Override
|
||||
public boolean isIncluded(TableId t) {
|
||||
return !SYSTEM_SCHEMAS.contains(t.schema().toLowerCase()) &&
|
||||
!SYSTEM_TABLES.contains(t.table().toLowerCase()) &&
|
||||
return t.schema() != null && !SYSTEM_SCHEMAS.contains(t.schema().toLowerCase()) &&
|
||||
t.table() != null && !SYSTEM_TABLES.contains(t.table().toLowerCase()) &&
|
||||
!t.schema().startsWith(TEMP_TABLE_SCHEMA_PREFIX);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user