Skip to content

fix(clickhouse): strip virtual catalogs from executed queries and inserts - #6036

Open
mday-io wants to merge 1 commit into
SQLMesh:mainfrom
mday-io:mday/fix-clickhouse-insert-virtual-catalog
Open

fix(clickhouse): strip virtual catalogs from executed queries and inserts#6036
mday-io wants to merge 1 commit into
SQLMesh:mainfrom
mday-io:mday/fix-clickhouse-insert-virtual-catalog

Conversation

@mday-io

@mday-io mday-io commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix direct SELECT and INSERT execution when ClickHouse references include SQLMesh's synthetic gateway catalog.

Test Plan

  • make style passes.
  • make fast-test: 2,625 passed, four skipped; all 167 isolation tests pass.
  • Regression coverage checks SELECT/INSERT references, configured catalog fallback, expression immutability, and unrelated catalogs/literals.
  • GitHub CI passes, including ClickHouse integration tests and DCO.

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

…erts

Signed-off-by: mday-io <mdaytn@gmail.com>
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