Skip to content

Commit

Permalink
[flink] Add fileIndex method in anonymous implementation class of For…
Browse files Browse the repository at this point in the history
…matReaderFactory.Context.
  • Loading branch information
guanshi committed Nov 7, 2024
1 parent 7278b6c commit d3b809f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.apache.paimon.catalog.CatalogContext;
import org.apache.paimon.data.InternalRow;
import org.apache.paimon.fileindex.FileIndexResult;
import org.apache.paimon.format.FormatReaderFactory;
import org.apache.paimon.fs.FileIO;
import org.apache.paimon.fs.FileStatus;
Expand Down Expand Up @@ -80,6 +81,11 @@ public Path filePath() {
public long fileSize() {
return length;
}

@Override
public FileIndexResult fileIndex() {
return context.fileIndex();
}
});
}

Expand Down

0 comments on commit d3b809f

Please sign in to comment.