Skip to content

feat(query): accept --dialect clickhouse - #370

Merged
eddietejeda merged 1 commit into
mainfrom
feat/clickhouse-dialect
Nov 12, 2026
Merged

eddietejeda merged 1 commit into
mainfrom
feat/clickhouse-dialect

Conversation

@eddietejeda

Copy link
Copy Markdown
Contributor

Summary

The server accepts ClickHouse SQL on the dialect flag since hotdata-dev/runtimedb#1759. The CLI validated --dialect against its own list (hotsql, duckdb, postgres, snowflake) and rejected clickhouse before sending anything.

  • clickhouse is added to --dialect on hotdata query and hotdata databases query.
  • The README and the hotdata skill (SKILL.md and subskills/analytics) now list it, with countIf(...) as the ClickHouse example.

Testing

  • New query_accepts_each_server_dialect test: both commands parse every dialect the server accepts, and an unknown one (mysql) is still rejected.
  • cargo test (588 + integration), cargo clippy --all-targets and cargo fmt --check pass.

The server accepts ClickHouse SQL on the dialect flag (runtimedb#1759);
the CLI checked the value against its own list first and refused it.
Add it to `query` and `databases query`, and to the README and skill.
@eddietejeda
eddietejeda requested a review from a team as a code owner November 12, 2026 01:27
@eddietejeda
eddietejeda requested review from anoop-narang and removed request for a team November 12, 2026 01:27
@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@eddietejeda
eddietejeda merged commit 286bab8 into main Nov 12, 2026
15 checks passed
@eddietejeda
eddietejeda deleted the feat/clickhouse-dialect branch November 12, 2026 02:24
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