Skip to content

Commit

Permalink
fix bug of case
Browse files Browse the repository at this point in the history
  • Loading branch information
huan233usc committed Feb 1, 2025
1 parent 866c4f7 commit 3dcd3c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ protected Tuple2<Protocol, Metadata> loadTableProtocolAndMetadata(
snapshotVersion - 100));
Optional<CRCInfo> crcInfoOpt =
logSegment
.getLastestCheckSum()
.getLatestChecksum()
.flatMap(
checksum -> {
if (FileNames.getFileVersion(new Path(checksum.getPath())) < crcReadLowerBound) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private String formatList(List<FileStatus> list) {
+ list.stream().map(FileStatus::toString).collect(Collectors.joining(",\n "));
}

public Optional<FileStatus> getlatestChecksum() {
public Optional<FileStatus> getLatestChecksum() {
return latestChecksum;
}
}

0 comments on commit 3dcd3c9

Please sign in to comment.