Repository navigation
Estimate hypothetical normal projections in EXPLAIN WHATIF - #118233
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Workflow [PR], commit [673f321] Summary: ✅
AI ReviewSummaryThis PR teaches Findings
Final VerdictRequest changes. LLVM Coverage ReportMeasured on commit 673f321.
Changed lines: Changed C/C++ lines covered: 573/598 (95.82%) · Uncovered code |
Build profile diff (arm_release)Commit See the job log for details. |
…inst ground truth
…imary_key applies
…old the verdict on uneven row widths
…' into yarik/whatif-projection-estimate
|
Yarik Briukhovetskyi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
… it to the 180s limit
…s the way the writer does
… of the estimator
…not touch server data
| return change.name == "enable_parallel_replicas" | ||
| return change.name == "force_optimize_projection" | ||
| || change.name == "force_optimize_projection_name" | ||
| || change.name == "preferred_optimize_projection_name" |
There was a problem hiding this comment.
prefer_optimize_projection is still live here, but the real normal-projection chooser folds it into the same relax_projection_checks path as force_optimize_projection (optimizeUseNormalProjection.cpp:448-458, 617-633). That means EXPLAIN WHATIF ... SETTINGS prefer_optimize_projection = 1 can still report a usable hypothetical projection as not chosen (or even not_applicable when there is no filter / sort help) even though the actual optimizer would pick it regardless of mark cost.
Please either strip/reset prefer_optimize_projection alongside the other projection-selection settings, or thread it through evaluateProjection and document that it affects verdict.
…e on it instead of one environment's numbers
…180s cap on the sync run
…in in it made the verdict wrong
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Provides the possibility to estimate hypothetical projections in WHATIF.
Workflow [PR]
Sync PR [sync-upstream/pr/118233]
Version info
26.10.1.508-master(included in26.10and later)