mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Fix tests which are failing due to new setting
This commit is contained in:
parent
7ca8f51bf2
commit
ef1188d13d
@ -1,4 +1,5 @@
|
|||||||
SET output_format_pretty_color=1;
|
SET output_format_pretty_color=1;
|
||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 1 FORMAT PrettySpace;
|
SELECT 1 FORMAT PrettySpace;
|
||||||
SELECT 1 UNION ALL SELECT 1 FORMAT PrettySpace;
|
SELECT 1 UNION ALL SELECT 1 FORMAT PrettySpace;
|
||||||
SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 FORMAT PrettySpace;
|
SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 FORMAT PrettySpace;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SET output_format_pretty_color = 0;
|
SET output_format_pretty_color = 0;
|
||||||
SHOW SETTING output_format_pretty_color;
|
SHOW SETTING output_format_pretty_color;
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SET output_format_pretty_color = 1;
|
SET output_format_pretty_color = 1;
|
||||||
|
|
||||||
SELECT number AS hello, toString(number) AS world, (hello, world) AS tuple, nullIf(hello % 3, 0) AS sometimes_nulls FROM system.numbers LIMIT 10 SETTINGS max_block_size = 5 FORMAT Pretty;
|
SELECT number AS hello, toString(number) AS world, (hello, world) AS tuple, nullIf(hello % 3, 0) AS sometimes_nulls FROM system.numbers LIMIT 10 SETTINGS max_block_size = 5 FORMAT Pretty;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SET output_format_pretty_color=1, output_format_pretty_highlight_digit_groups=0;
|
SET output_format_pretty_color=1, output_format_pretty_highlight_digit_groups=0, SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT Pretty;
|
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT Pretty;
|
||||||
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompact;
|
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompact;
|
||||||
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettySpace;
|
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettySpace;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT
|
SELECT
|
||||||
s,
|
s,
|
||||||
parseDateTimeBestEffortOrNull(s, 'UTC') AS a,
|
parseDateTimeBestEffortOrNull(s, 'UTC') AS a,
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SET output_format_pretty_max_column_pad_width = 250;
|
SET output_format_pretty_max_column_pad_width = 250;
|
||||||
SELECT range(number) FROM system.numbers LIMIT 100 FORMAT PrettyCompactNoEscapes;
|
SELECT range(number) FROM system.numbers LIMIT 100 FORMAT PrettyCompactNoEscapes;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT
|
SELECT
|
||||||
s,
|
s,
|
||||||
parseDateTimeBestEffortOrNull(s, 'UTC') AS a,
|
parseDateTimeBestEffortOrNull(s, 'UTC') AS a,
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
SET output_format_pretty_color = 1, output_format_pretty_max_value_width_apply_for_single_value = 1, output_format_pretty_row_numbers = 0;
|
SET output_format_pretty_color = 1, output_format_pretty_max_value_width_apply_for_single_value = 1, output_format_pretty_row_numbers = 0;
|
||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 'привет' AS x, 'мир' AS y FORMAT Pretty;
|
SELECT 'привет' AS x, 'мир' AS y FORMAT Pretty;
|
||||||
|
|
||||||
SET output_format_pretty_max_value_width = 5;
|
SET output_format_pretty_max_value_width = 5;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 'parseDateTimeBestEffortUS';
|
SELECT 'parseDateTimeBestEffortUS';
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
SET output_format_pretty_color=1;
|
SET output_format_pretty_color=1;
|
||||||
SET output_format_pretty_row_numbers=0;
|
SET output_format_pretty_row_numbers=0;
|
||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT * FROM numbers(10) FORMAT Pretty;
|
SELECT * FROM numbers(10) FORMAT Pretty;
|
||||||
SELECT * FROM numbers(10) FORMAT PrettyCompact;
|
SELECT * FROM numbers(10) FORMAT PrettyCompact;
|
||||||
SELECT * FROM numbers(10) FORMAT PrettyCompactMonoBlock;
|
SELECT * FROM numbers(10) FORMAT PrettyCompactMonoBlock;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
set output_format_pretty_display_footer_column_names=0;
|
||||||
set output_format_write_statistics=0;
|
set output_format_write_statistics=0;
|
||||||
|
|
||||||
select * from numbers(100) settings max_result_rows = 1; -- { serverError TOO_MANY_ROWS_OR_BYTES }
|
select * from numbers(100) settings max_result_rows = 1; -- { serverError TOO_MANY_ROWS_OR_BYTES }
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 'parseDateTime64BestEffortUS';
|
SELECT 'parseDateTime64BestEffortUS';
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SET output_format_pretty_color=1;
|
SET output_format_pretty_color=1;
|
||||||
SET read_in_order_two_level_merge_threshold=1000000;
|
SET read_in_order_two_level_merge_threshold=1000000;
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 1_000_000 as a FORMAT Pretty;
|
SELECT 1_000_000 as a FORMAT Pretty;
|
||||||
SELECT 1_000_000 as a FORMAT PrettyNoEscapes;
|
SELECT 1_000_000 as a FORMAT PrettyNoEscapes;
|
||||||
SELECT 1_000_000 as a FORMAT PrettyMonoBlock;
|
SELECT 1_000_000 as a FORMAT PrettyMonoBlock;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SET output_format_pretty_row_numbers = 0;
|
SET output_format_pretty_row_numbers = 0;
|
||||||
|
|
||||||
SELECT exp10(number) * (number % 2 ? 1 : -1) FROM numbers(30) FORMAT PrettySpace SETTINGS output_format_pretty_color = 1;
|
SELECT exp10(number) * (number % 2 ? 1 : -1) FROM numbers(30) FORMAT PrettySpace SETTINGS output_format_pretty_color = 1;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SET output_format_pretty_display_footer_column_names=0;
|
||||||
SELECT 123456789 AS x FORMAT PrettyCompact;
|
SELECT 123456789 AS x FORMAT PrettyCompact;
|
||||||
SELECT toNullable(123456789) AS x FORMAT PrettyCompact;
|
SELECT toNullable(123456789) AS x FORMAT PrettyCompact;
|
||||||
SELECT toLowCardinality(toNullable(123456789)) AS x FORMAT PrettyCompact;
|
SELECT toLowCardinality(toNullable(123456789)) AS x FORMAT PrettyCompact;
|
||||||
|
@ -5,4 +5,4 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|||||||
. "$CUR_DIR"/../shell_config.sh
|
. "$CUR_DIR"/../shell_config.sh
|
||||||
|
|
||||||
# default output_format_pretty_max_rows is 10K
|
# default output_format_pretty_max_rows is 10K
|
||||||
$CLICKHOUSE_LOCAL -q "select * from numbers(100e3) format PrettySpace settings max_threads=1" | wc -l
|
$CLICKHOUSE_LOCAL -q "select * from numbers(100e3) format PrettySpace settings max_threads=1, output_format_pretty_display_footer_column_names=0" | wc -l
|
||||||
|
Loading…
Reference in New Issue
Block a user