mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
fix 0320_long_values_pretty_are_not_cut_if_single
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
This commit is contained in:
parent
89108202d5
commit
2f5c52f7df
@ -9,6 +9,11 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# But cutting it in the result of SHOW CREATE TABLE will be bad for a user.
|
||||
# That's why we control it with the setting `output_format_pretty_max_value_width_apply_for_single_value`.
|
||||
|
||||
# Make sure that system.metric_log exists
|
||||
${CLICKHOUSE_CLIENT} --query "SELECT 1 FORMAT Null"
|
||||
${CLICKHOUSE_CLIENT} --query "SYSTEM FLUSH LOGS"
|
||||
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "SHOW CREATE TABLE system.metric_log" --format Pretty | grep -P '^COMMENT'
|
||||
${CLICKHOUSE_CLIENT} --query "SHOW CREATE TABLE system.metric_log" --format PrettyCompact | grep -P '^COMMENT'
|
||||
${CLICKHOUSE_CLIENT} --query "SHOW CREATE TABLE system.metric_log" --format PrettySpace | grep -P '^COMMENT'
|
||||
|
Loading…
Reference in New Issue
Block a user