Skip to content

Commit

Permalink
add shortcut logic when get sub-partiton chunkRange pair
Browse files Browse the repository at this point in the history
  • Loading branch information
wangshengjie123 committed Feb 18, 2025
1 parent 8dae8ab commit f7f364c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ public static Map<String, Pair<Integer, Integer>> splitSkewedPartitionLocations(
j++;
}
partitionLocationOffset += p.getStorageInfo().getFileSize();
if (partitionLocationOffset > endOffset) {
break;
}
}
return chunkRange;
}
Expand Down

0 comments on commit f7f364c

Please sign in to comment.