-
Notifications
You must be signed in to change notification settings - Fork 121
Add ClickHouse cluster support, part 2 #904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add ClickHouse cluster support, part 2 #904
Conversation
|
👋 @StevenReitsma |
WalkthroughThese changes enhance database macro operations by adding query settings support, implementing cluster-aware ClickHouse operations, enforcing temporary table compatibility checks, and restructuring table cleanup queries for explicit control flow across multiple SQL macros. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (5)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-07-22T15:41:57.338ZApplied to files:
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@StevenReitsma, thanks for opening the PR! It seems that there is an issue with the Databricks tests. Could you take a look? |
This is a continuation of #878. The query settings were missing for a couple of more queries, which is relevant for the ClickHouse platform in some situations. Hopefully this now covers all possible use-cases.
Also, there was a bug where temporary tables were being created on platforms that don't support it (like ClickHouse). This PR fixes that.
Finally, we add
on_cluster_clausein ClickHouse specific code, which is necessary for clustered self-hosted ClickHouse installations.Summary by CodeRabbit
Release Notes
Bug Fixes
Improvements
✏️ Tip: You can customize this high-level summary in your review settings.