Skip to content

Commit 400716b

Browse files
committed
fix
1 parent a8c62dd commit 400716b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

paimon-format/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,8 @@ private void readAllPartsVectoredOrNormal(
585585
List<ConsecutivePartList> allParts, ChunkListBuilder builder) throws IOException {
586586

587587
if (shouldUseVectoredIo(allParts)) {
588-
try {
589-
readVectored(allParts, builder);
590-
return;
591-
} catch (IllegalArgumentException | UnsupportedOperationException e) {
592-
// Either the arguments are wrong or somehow this is being invoked against
593-
// a hadoop release which doesn't have the API and yet somehow it got here.
594-
LOG.warn("readVectored() failed; falling back to normal IO against {}", f, e);
595-
}
588+
readVectored(allParts, builder);
589+
return;
596590
}
597591
for (ConsecutivePartList consecutiveChunks : allParts) {
598592
consecutiveChunks.readAll(f, builder);

0 commit comments

Comments
 (0)