Skip to content

Feature/tilemaxsim phase3#472

Closed
HuXinjing wants to merge 4 commits into
supervc-stack:mainfrom
HuXinjing:feature/tilemaxsim-phase3
Closed

Feature/tilemaxsim phase3#472
HuXinjing wants to merge 4 commits into
supervc-stack:mainfrom
HuXinjing:feature/tilemaxsim-phase3

Conversation

@HuXinjing

Copy link
Copy Markdown

No description provided.

spenc-r and others added 4 commits July 13, 2026 18:27
Use the planner's filtered row estimate as filter selectivity for deciding how many IVFFlat candidates are needed to satisfy LIMIT after heap-side quals.

Report indexSelectivity from the expected retrieved candidate count instead of the final survivor fraction, so cost_index() prices heap fetch and qpqual evaluation against candidate rows rather than every table row or only the rows that pass filters.

Clamp the candidate-processing term by node_count, and tighten the cost estimator sqllogictest coverage around btree alternatives, candidate-cost floors, and extreme selectivity.
`validate_alpha` indexes `alpha[0]` after the sorted/range checks, both of
which pass on an empty slice (`[].is_sorted()` and `[].iter().all(..)` are
true). So an empty `alpha` (e.g. `WITH (options='[index] alpha = []')`)
panics with an index-out-of-bounds instead of returning a ValidationError.

Use `alpha.first()` so the empty case yields the existing "`alpha` should
contain `1.0`" error. Behavior is unchanged for every non-empty input.

Add unit tests covering the empty slice plus valid/invalid cases.
…entry

The `vchordrq.probes` parser panics via `.expect("empty probes")` when an
entry is empty (e.g. `SET vchordrq.probes = ',5'` or `'1,,2'`), even though
the sibling match arm already reports malformed input cleanly with
`pgrx::error!`. Handle the empty entry the same way — a proper error rather
than a panic. Behavior is unchanged for all valid input.
@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


2 out of 3 committers have signed the CLA.
✅ (spenc-r)[https://github.com/spenc-r]
✅ (ameyypawar)[https://github.com/ameyypawar]
@CooperLee996
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@HuXinjing HuXinjing closed this Jul 13, 2026
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.

4 participants