Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/program-api/java-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public class ReadTable {
// 3. Distribute these splits to different tasks

// 4. Read a split in task
TableRead read = readBuilder.newRead();
TableRead read = readBuilder.newRead().executeFilter();
Copy link
Contributor

@JingsongLi JingsongLi Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can explain this.

// You can use executeFilter to do filter per record
// By default, only capable of performing coarse-grained filtering
read.executeFilter();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

RecordReader<InternalRow> reader = read.createReader(splits);
reader.forEachRemaining(System.out::println);
}
Expand Down Expand Up @@ -304,7 +304,7 @@ public class StreamReadTable {
// can be restored in scan.restore(state) after fail over

// 3. Read a split in task
TableRead read = readBuilder.newRead();
TableRead read = readBuilder.newRead().executeFilter();
RecordReader<InternalRow> reader = read.createReader(splits);
reader.forEachRemaining(System.out::println);

Expand Down