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

Trim whitespace in CLICKHOUSE_SKIP_TABLES var #303

Closed
zqin opened this issue Nov 10, 2021 · 0 comments · Fixed by #310
Closed

Trim whitespace in CLICKHOUSE_SKIP_TABLES var #303

zqin opened this issue Nov 10, 2021 · 0 comments · Fixed by #310
Assignees

Comments

@zqin
Copy link

zqin commented Nov 10, 2021

If there is whitespace between table names in the environment variable CLICKHOUSE_SKIP_TABLES, the whitespace is contained in the table name. It looks like table names are split by delimiter , only. Please trim whitespace from the table name in this case.

E.g.,

$ export CLICKHOUSE_SKIP_TABLES="db1.table1, db2.table2"

# db2.table2 is not skipped:
$ ./clickhouse-backup -c ./config.yml tables
db2.table2
....
@Slach Slach self-assigned this Nov 10, 2021
@Slach Slach mentioned this issue Nov 26, 2021
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 a pull request may close this issue.

2 participants