Skip to content

fix(gfql): explain engine-mismatched index scans - #1838

Merged
lmeyerov merged 2 commits into
masterfrom
fix/gfql-index-engine-mismatch-diagnostic
Jul 31, 2026
Merged

fix(gfql): explain engine-mismatched index scans#1838
lmeyerov merged 2 commits into
masterfrom
fix/gfql-index-engine-mismatch-diagnostic

Conversation

@lmeyerov

Copy link
Copy Markdown
Contributor

What

Add an gfql_explain diagnostic when a valid resident adjacency index belongs to the other requested engine and GFQL intentionally declines it for a scan.

Why

The mismatch was silent in both pandas-to-polars and polars-to-pandas directions while show_indexes() remained valid, hiding a severe default-path cliff.

Scope

Diagnostic only: no execution, coercion, rebuild, or index-policy change.

Validation

Targeted diagnostic tests, the GFQL index module suite, lint/hygiene, and mypy 2.3.0 passed on DGX.

@lmeyerov
lmeyerov marked this pull request as ready for review July 30, 2026 23:28
@lmeyerov
lmeyerov merged commit 84e05d5 into master Jul 31, 2026
57 checks passed
@lmeyerov
lmeyerov deleted the fix/gfql-index-engine-mismatch-diagnostic branch July 31, 2026 06:49
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.

1 participant