Repository navigation
Refactoring of row policy usage - #118668
Conversation
…zedView and Buffer
…derlying-storages
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Workflow [PR], commit [87b2eac] Summary: ✅
AI ReviewSummaryThis PR centralizes effective row-policy resolution through Findings❌ Blockers
Tests
Final Verdict
LLVM Coverage ReportMeasured on commit 87b2eac.
Changed lines: Changed C/C++ lines covered: 109/117 (93.16%) · Uncovered code |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes298 object files changed (+180.14 KiB total), 1 added.
716 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units689 translation units recompiled, 5429 s compile time in total, 688 of them have a recent master baseline. |
…derlying-storages
…lay-databases Conflicts: `QueryAnalyzer.cpp`, `InterpreterSelectQuery.cpp`, `PlannerJoinTree.cpp` — master (ClickHouse#118668) moved the row-policy resolution into the shared `getRowPolicyFilterForStorage` / `getEffectiveRowPolicyFilter` helpers in `Storages/getEffectiveRowPolicyFilter.h`, replacing the per-call-site code where this branch combined the policies of the `Overlay` facade name with the source's. Resolved by adding `as_written_id` overloads of the two shared helpers that combine the other name's policies when the written id resolves through a read-only facade (plain source table: the facade's policies; parameterized view: the carried source view's policies), and by switching the three call sites to them; the branch's local planner copy of `getEffectiveRowPolicyFilter` is dropped in favour of the shared one. `DatabaseOverlay::getSourceTableIdForReadonlyFacade` gained an `IStorage const &` overload for the helper. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Workflow [PR]
Sync PR [sync-upstream/pr/118668]
Version info
26.10.1.414-master(included in26.10and later)