Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Oct 15, 2024
1 parent 74a0ca4 commit b0d8dee
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,11 @@ private long getScanRangeSize(ScanNode scanNode, TScanRangeLocations scanRangeLo
if (extScanRange != null) {
TFileScanRange fileScanRange = extScanRange.getFileScanRange();
long size = 0;
for (TFileRangeDesc range : fileScanRange.getRanges()) {
size += range.getSize();
List<TFileRangeDesc> ranges = fileScanRange.getRanges();
if (ranges != null) {
for (TFileRangeDesc range : ranges) {
size += range.getSize();
}
}
return size;
}
Expand Down

0 comments on commit b0d8dee

Please sign in to comment.