Skip to content

Commit

Permalink
Remove redundant unreachable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Jun 7, 2024
1 parent 5920537 commit b05a670
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,6 @@ else if (numberOfRows == expectedValues.size() % ORC_ROW_GROUP_SIZE || numberOfR
List<T> chunk = expectedValues.subList((int) (expectedValues.size() - numberOfRows), expectedValues.size());
assertChunkStats(chunk, columnStatistics);
}
else if (numberOfRows == expectedValues.size() % ORC_STRIPE_SIZE) {
// tail section
List<T> chunk = expectedValues.subList((int) (expectedValues.size() - numberOfRows), expectedValues.size());
assertChunkStats(chunk, columnStatistics);
}
else {
fail("Unexpected number of rows: " + numberOfRows);
}
Expand Down

0 comments on commit b05a670

Please sign in to comment.