Skip to content

improve autocomplete: compound JOIN suggestions, fix table ranking, r…#13

Merged
emrberk merged 1 commit intomasterfrom
fix/table-suggestion-ranking-ctes
Mar 17, 2026
Merged

improve autocomplete: compound JOIN suggestions, fix table ranking, r…#13
emrberk merged 1 commit intomasterfrom
fix/table-suggestion-ranking-ctes

Conversation

@emrberk
Copy link
Collaborator

@emrberk emrberk commented Mar 17, 2026

…emove unsupported joins

  • Suggest compound JOIN keywords (e.g., LEFT JOIN, ASOF JOIN) instead of bare prefixes like LEFT, ASOF that are incomplete on their own
  • Fix table suggestion ranking: full-match tables now get Medium priority (below columns at High) instead of being interleaved with columns
  • Extract selectBody rule from selectStatement so WITH clauses do not suggest DECLARE/WITH after CTE definitions
  • Remove RIGHT JOIN and FULL JOIN from grammar (unsupported by QuestDB)
  • Update tests for compound join suggestions and grammar changes

…emove unsupported joins

- Suggest compound JOIN keywords (e.g., LEFT JOIN, ASOF JOIN) instead
  of bare prefixes like LEFT, ASOF that are incomplete on their own
- Fix table suggestion ranking: full-match tables now get Medium priority
  (below columns at High) instead of being interleaved with columns
- Extract selectBody rule from selectStatement so WITH clauses do not
  suggest DECLARE/WITH after CTE definitions
- Remove RIGHT JOIN and FULL JOIN from grammar (unsupported by QuestDB)
- Update tests for compound join suggestions and grammar changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@emrberk emrberk merged commit 527152d into master Mar 17, 2026
1 check passed
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