Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Dec 4, 2024
1 parent 49a9f70 commit 2882ff4
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 @@ protected AbstractFileStoreWrite(
boolean legacyPartitionName) {
this.snapshotManager = snapshotManager;
// Statistic is useless in writer
this.scan = scan.dropStats();
this.scan = scan == null ? null : scan.dropStats();
this.indexFactory = indexFactory;
this.dvMaintainerFactory = dvMaintainerFactory;
this.totalBuckets = totalBuckets;
Expand Down

0 comments on commit 2882ff4

Please sign in to comment.