Skip to content

chore: rename BucketView to BucketRecords#370

Merged
luoyuxia merged 1 commit intoapache:mainfrom
fresh-borzoni:chore-fix-bucket-view-name
Feb 24, 2026
Merged

chore: rename BucketView to BucketRecords#370
luoyuxia merged 1 commit intoapache:mainfrom
fresh-borzoni:chore-fix-bucket-view-name

Conversation

@fresh-borzoni
Copy link
Contributor

as discussed in #351 (comment)

@fresh-borzoni
Copy link
Contributor Author

@luoyuxia PTAL 🙏

for (size_t b = 0; b < scan_records.BucketCount(); ++b) {
auto bucket_view = scan_records.BucketAt(b);
if (!bucket_view.Empty()) {
auto bkt_records = scan_records.BucketAt(b);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

otherwise shadowed

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Renames the C++ per-bucket scan result wrapper type from BucketView to BucketRecords to better reflect its semantics, aligning with the API discussion in #351.

Changes:

  • Renamed C++ API return types ScanRecords::Records() / ScanRecords::BucketAt() from BucketView to BucketRecords.
  • Updated C++ header/source, tests, and Rust-side comments to use the new name.
  • Updated C++ API reference docs to reflect the new type name and wording.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/docs/user-guide/cpp/api-reference.md Updates public C++ docs to reference BucketRecords instead of BucketView.
bindings/cpp/test/test_log_table.cpp Updates test comments/variables to use BucketRecords naming.
bindings/cpp/src/table.cpp Renames implementations and exception messages to BucketRecords.
bindings/cpp/src/lib.rs Updates Rust-side comment to reflect the renamed C++ type.
bindings/cpp/include/fluss.hpp Renames the public C++ type and updates ScanRecords method signatures accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

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

@fresh-borzoni Thanks. LGTM!

@luoyuxia luoyuxia merged commit 30206ef into apache:main Feb 24, 2026
7 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.

3 participants