Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
FMX committed Feb 18, 2025
1 parent d4db85d commit 5132a25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ public PartitionDataWriter(
}

public DiskFileInfo getDiskFileInfo() {
// keep compatible with current logic
if (!(tierWriterProxy.getCurrentFileInfo() instanceof DiskFileInfo)) {
throw new IllegalStateException("tier writer file info needs to be disk file info");
return null;
}
return ((DiskFileInfo) tierWriterProxy.getCurrentFileInfo());
}
Expand Down

0 comments on commit 5132a25

Please sign in to comment.