Antalya 26.3 Hybrid: added support for segment pruning#1788
Conversation
arthurpassos
left a comment
There was a problem hiding this comment.
I can't help much here tbh
|
|
||
| if (col_ranges.empty()) |
There was a problem hiding this comment.
Why is it that when there are no ranges you can actually prune the segment?
There was a problem hiding this comment.
col_ranges being empty at this stage (after we proved that extractPlainRangesForColumn means that the segment's own predicate projected on the column i has no values.
|
the tests failing seems unrelated to my changes. |
Verification: PR #1788PR-added tests — all GREEN
The new gtest The Hybrid segment-pruning path has clean positive coverage at both unit and stateless levels. CI overview (head commit)
PR test-workflow failures
Regression-workflow failures (chronic baseline on
|
| Suite | Fails |
|---|---|
| Swarms (Aarch64 + Release) | 230 |
| Parquet (Aarch64 + Release) | 18 |
S3Export part (Aarch64 + Release) |
14 |
Same fingerprint as sibling antalya-26.3 PRs (1776, 1782, 1783, 1775, 1773, …). On this run S3Export partition was actually green; no new failure modes introduced.
Caveat — partial frontport
PR lands on antalya-26.3 while companion features from antalya-26.1 are still being frontported in parallel. Final re-verify recommended once the rest of the bundle lands.
Verdict
Safe to merge.
Audit: PR #1788 — Antalya 26.3 Hybrid: added support for segment pruningAI audit note: This review comment was generated by AI (Cursor agent, audit-review skill). Scope reviewedHead Confirmed defectsLow: Misleading parameter comment in
Low:
Coverage summary
|
This was suggested during the verification stage. Replacing getAll() with getAllPhysical() avoids potentially wasted work.
|
@alsugiliazova, I've pushed two commits resolving both issues.
This was an unrelated to this PR issue, but I fixed it nonetheless to avoid any confusions in the future.
Replaced |
Resolved (verification update on
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Hybrid tables now can ignore the segments that can't be reached by the combination of WHERE and segment predicate
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: