Update tests

This commit is contained in:
avogar 2024-02-14 12:48:05 +00:00
parent a6fe66dd57
commit 64779835fa
3 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,8 @@
<test>
<settings>
<allow_suspicious_low_cardinality_types>1</allow_suspicious_low_cardinality_types>
</settings>
<create_query>DROP TABLE IF EXISTS perf_lc_num</create_query>
<create_query>CREATE TABLE perf_lc_num(
num UInt8,

View File

@ -6,7 +6,7 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. "$CUR_DIR"/../shell_config.sh
${CLICKHOUSE_CLIENT} --multiquery --multiline --query="""
${CLICKHOUSE_CLIENT} --allow_suspicious_low_cardinality_types=1 --multiquery --multiline --query="""
DROP TABLE IF EXISTS t_01411;
DROP TABLE IF EXISTS t_01411_num;

View File

@ -6,6 +6,7 @@ set output_format_parquet_data_page_size = 800;
set output_format_parquet_batch_size = 100;
set output_format_parquet_row_group_size_bytes = 1000000000;
set engine_file_truncate_on_insert=1;
set allow_suspicious_low_cardinality_types=1;
-- Write random data to parquet file, then read from it and check that it matches what we wrote.
-- Do this for all kinds of data types: primitive, Nullable(primitive), Array(primitive),