mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
Update test
This commit is contained in:
parent
f925046dc4
commit
4e56889a48
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
for format in Pretty PrettyNoEscapes PrettyMonoBlock PrettyNoEscapesMonoBlock PrettyCompact PrettyCompactNoEscapes PrettyCompactMonoBlock PrettyCompactNoEscapesMonoBlock PrettySpace PrettySpaceNoEscapes PrettySpaceMonoBlock PrettySpaceNoEscapesMonoBlock
|
||||
do
|
||||
echo $format
|
||||
$CLICKHOUSE_CLIENT -q "select number as x, number + 1 as y from numbers(4) settings max_block_size=2 format $format"
|
||||
done
|
8
tests/queries/0_stateless/02375_pretty_formats.sql.j2
Executable file
8
tests/queries/0_stateless/02375_pretty_formats.sql.j2
Executable file
@ -0,0 +1,8 @@
|
||||
{% for format in ['Pretty', 'PrettyNoEscapes', 'PrettyMonoBlock', 'PrettyNoEscapesMonoBlock', 'PrettyCompact', 'PrettyCompactNoEscapes',
|
||||
'PrettyCompactMonoBlock', 'PrettyCompactNoEscapesMonoBlock', 'PrettySpace', 'PrettySpaceNoEscapes', 'PrettySpaceMonoBlock',
|
||||
'PrettySpaceNoEscapesMonoBlock'] -%}
|
||||
|
||||
select '{{ format }}';
|
||||
select number as x, number + 1 as y from numbers(4) settings max_block_size=2 format {{ format }};
|
||||
|
||||
{% endfor -%}
|
Loading…
Reference in New Issue
Block a user