Skip to content

Commit

Permalink
DBZ-4979 Guard against NPE for non-table related DDLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane authored and Naros committed Apr 12, 2022
1 parent 7b95aa7 commit 053bf60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void closeWindow(P partition, String id, OffsetContext offsetContext) thr

@Override
public void processSchemaChange(P partition, DataCollectionId dataCollectionId) throws InterruptedException {
if (dataCollectionId.equals(context.currentDataCollectionId())) {
if (dataCollectionId != null && dataCollectionId.equals(context.currentDataCollectionId())) {
rereadChunk(partition);
}
}
Expand Down

0 comments on commit 053bf60

Please sign in to comment.