Skip to content

refactor: simplify src/iceberg/manifest/manifest_group.cc - #952

Open
HuaHuaY wants to merge 2 commits into
apache:mainfrom
HuaHuaY:refactor_manifest_group
Open

HuaHuaY wants to merge 2 commits into
apache:mainfrom
HuaHuaY:refactor_manifest_group

Conversation

@HuaHuaY

@HuaHuaY HuaHuaY commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 21, 2026 10:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Streaming stops prematurely when filtered manifests produce an empty batch before later matching manifests.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Refactors manifest planning around a shared PlanningContext and adds streaming regression tests.

Changes:

  • Centralizes filtering, evaluator, and column projection logic.
  • Simplifies eager and streaming planning paths.
  • Adds batch-boundary and metrics-parity tests.
File Description
src/​iceberg/​manifest/​manifest_group.cc Refactored planning and streaming logic.
src/​iceberg/​manifest/​manifest_group.h Added planning context declarations and updated helpers.
src/​iceberg/​test/​manifest_group_test.cc Added stream and metrics tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/iceberg/manifest/manifest_group.cc
Copilot AI review requested due to automatic review settings September 21, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The refactor preserves the existing planning paths and adds coverage for streaming boundaries and filter metrics.

Review effort: Lite
Findings: None

Resolved since last review (1)

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.

2 participants