Skip to content

Conversation

@rolandwalker
Copy link
Contributor

@rolandwalker rolandwalker commented Feb 2, 2026

Description

For a naked SELECT, on the edge case that there are no tables in the current database, still offer * as a column name.

This can go under the existing Feature changelog item for naked SELECT.

Later we can offer database names as well!

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .
    

For a naked SELECT, on the edge case that there are no tables in the
current database, still offer "*" as a column name.
@rolandwalker rolandwalker self-assigned this Feb 2, 2026
Copy link
Contributor

@scottnemes scottnemes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified * shows up as a suggestion now after SELECT in a database with no tables.

@rolandwalker rolandwalker merged commit 7989e21 into main Feb 2, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/complete-star-no-tables-edge-case branch February 2, 2026 19:48
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.

3 participants