-
Notifications
You must be signed in to change notification settings - Fork 19
make ch parallel view processing configurable #223
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
make ch parallel view processing configurable #223
Conversation
WalkthroughA new boolean configuration flag, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant Viper
participant Config
participant ClickhouseConnector
User->>CLI: Start application with flags/config
CLI->>Viper: Bind flags to config keys
Viper->>Config: Populate ClickhouseConfig (including EnableParallelViewProcessing)
Config->>ClickhouseConnector: Pass ClickhouseConfig
ClickhouseConnector->>ClickhouseConnector: If EnableParallelViewProcessing is true, set "parallel_view_processing": "1"
ClickhouseConnector->>Clickhouse: Establish connection with settings
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
TL;DR
Added configuration option to enable parallel view processing for ClickHouse connections.
What changed?
enableParallelViewProcessing
for all ClickHouse storage types (orchestrator, main, and staging)How to test?
parallel_view_processing
setting when the flag is enabledWhy make this change?
Parallel view processing in ClickHouse can improve query performance for certain workloads, but it's not always desirable for all environments or use cases. Making this setting configurable allows users to enable it only when beneficial for their specific workload patterns, providing more flexibility in optimizing ClickHouse performance.
Summary by CodeRabbit
New Features
Improvements