Skip to content

Commit

Permalink
Data: open file using stats in scan
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Feb 2, 2025
1 parent 9feca0c commit b2590ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private CloseableIterable<Record> applyResidual(
}

private CloseableIterable<Record> openFile(FileScanTask task, Schema fileProjection) {
InputFile input = io.newInputFile(task.file().location());
InputFile input = io.newInputFile(task.file());
Map<Integer, ?> partition =
PartitionUtil.constantsMap(task, IdentityPartitionConverters::convertConstant);

Expand Down

0 comments on commit b2590ac

Please sign in to comment.