Skip to content

feat: introduce read builder#114

Merged
JingsongLi merged 2 commits intoapache:mainfrom
luoyuxia:introduce-table-read-builder-final
Mar 10, 2026
Merged

feat: introduce read builder#114
JingsongLi merged 2 commits intoapache:mainfrom
luoyuxia:introduce-table-read-builder-final

Conversation

@luoyuxia
Copy link
Contributor

@luoyuxia luoyuxia commented Mar 9, 2026

Purpose

Linked issue: close #113

Brief change log

Tests

API and Format

Documentation

@luoyuxia luoyuxia force-pushed the introduce-table-read-builder-final branch from a905a3c to 4c7c645 Compare March 9, 2026 09:41
}

/// Create a table read for consuming splits (e.g. from a scan plan).
pub fn new_read(self) -> Result<TableRead<'a>> {
Copy link

@XiaoHongbo-Hope XiaoHongbo-Hope Mar 9, 2026

Choose a reason for hiding this comment

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

In Java Paimon and pypaimon, ReadBuilder can call both newScan() and newRead() from the same builder instance. Can you please double check here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean the ownership move which prevent it call newScan and newRead in a same instance.
Now, I change to use &self which should be good then

@luoyuxia
Copy link
Contributor Author

luoyuxia commented Mar 9, 2026

@XiaoHongbo-Hope Thanks for your reviewing. Comments has been addressed.

@luoyuxia luoyuxia requested a review from XiaoHongbo-Hope March 9, 2026 23:18
@XiaoHongbo-Hope
Copy link

+1

1 similar comment
@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit fd0e21c into apache:main Mar 10, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

introduce read builder

3 participants