Skip to content
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

add --backslash option for clickhouse-format #21494

Merged
merged 1 commit into from Mar 12, 2021
Merged

Conversation

ucasfl
Copy link
Collaborator

@ucasfl ucasfl commented Mar 6, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • New Feature

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

Add option --backslash for clickhouse-format, which can add a backslash at the end of each line of the formatted query.

Detailed description / Documentation draft:

use case: sometimes when we copy a query from web or somewhere else with multiple lines, and want to execute it in command line.

@robot-clickhouse robot-clickhouse added doc-alert pr-feature Pull request with new product feature labels Mar 6, 2021
@ucasfl ucasfl force-pushed the format branch 2 times, most recently from fd0df1b to 2e2d6b0 Compare March 6, 2021 12:26
@Avogar Avogar merged commit 2e7f756 into ClickHouse:master Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature Pull request with new product feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants