Skip to content

Conversation

@scottnemes
Copy link
Contributor

Description

What:
This PR updates the query processing functions to allow queries that return zero results, like DDL, to also hit the automatic show_warnings code path.

Why:
Currently the new automatic show_warnings logic does not work for queries that return zero results, like DDL.

Checklist

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

@scottnemes scottnemes marked this pull request as ready for review December 24, 2025 02:48
@scottnemes scottnemes changed the title [feat] Updated query handling to allow show_warnings to work for additional code paths like DDL [feat] Update query handling to allow automatic show_warnings to work for additional code paths like DDL Dec 24, 2025
@scottnemes scottnemes changed the title [feat] Update query handling to allow automatic show_warnings to work for additional code paths like DDL [feat] Update query handling to allow automatic show_warnings to work for DDL Dec 24, 2025
@rolandwalker
Copy link
Contributor

Nice followup!

@rolandwalker rolandwalker merged commit 3683b9f into dbcli:main Dec 24, 2025
8 checks passed
@scottnemes scottnemes deleted the feat/additional-automatic-warnings branch December 24, 2025 16:13
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.

2 participants