Skip to content

clickhouse/ch aliases will invoke clickhouse-client if connection parameters are specified#81509

Merged
alexey-milovidov merged 1 commit intomasterfrom
ch-can-invoke-client
Jun 8, 2025
Merged

clickhouse/ch aliases will invoke clickhouse-client if connection parameters are specified#81509
alexey-milovidov merged 1 commit intomasterfrom
ch-can-invoke-client

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

clickhouse/ch aliases will invoke clickhouse-client instead of clickhouse-local if --host or --port are specified. Continuation of #79422. Closes #65252.

Note: I decided not to include --user and --password, because you can create users inside clickhouse-local. I decided to also not include --secure, because it is rarely used without host or port.

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Jun 8, 2025

Workflow [PR], commit [7e477ab]

@clickhouse-gh clickhouse-gh bot added the pr-improvement Pull request with some product improvements label Jun 8, 2025
@azat azat self-assigned this Jun 8, 2025
@alexey-milovidov alexey-milovidov merged commit 5450f6e into master Jun 8, 2025
118 of 121 checks passed
@alexey-milovidov alexey-milovidov deleted the ch-can-invoke-client branch June 8, 2025 20:15
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify calling of calling client or local with clickhouse and ch shortcuts

3 participants