Skip to content

Let users choose a usage SQL warehouse - #388

Open
andy-xu-db wants to merge 1 commit into
mainfrom
usage-warehouse-picker
Open

Let users choose a usage SQL warehouse#388
andy-xu-db wants to merge 1 commit into
mainfrom
usage-warehouse-picker

Conversation

@andy-xu-db

@andy-xu-db andy-xu-db commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • list the SQL warehouses visible to the user before running the detailed usage query
  • let the user choose the warehouse and query only that selection
  • exit cleanly when warehouse selection is cancelled
  • preserve the existing --warehouse-id override without prompting

Testing

  • uv run pytest tests/test_usage.py (86 passed)
  • uv run ruff check src/ucode/usage.py tests/test_usage.py

🥞 Stacked PR

Use this link to review incremental changes.


@andy-xu-db
andy-xu-db marked this pull request as ready for review August 25, 2026 15:13
@andy-xu-db
andy-xu-db force-pushed the feature/usage-budget-first branch from c353f45 to b41c1d1 Compare August 25, 2026 20:26
@andy-xu-db
andy-xu-db force-pushed the usage-warehouse-picker branch from 26726a6 to f952464 Compare August 25, 2026 20:26
Base automatically changed from feature/usage-budget-first to main August 25, 2026 20:32
@andy-xu-db
andy-xu-db force-pushed the usage-warehouse-picker branch from f952464 to 9ef700d Compare August 25, 2026 20:57
@andy-xu-db
andy-xu-db force-pushed the usage-warehouse-picker branch from 9ef700d to 3663d3d Compare August 25, 2026 20:57
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