From a7217c357571b571da8d760effda6dae24882ab7 Mon Sep 17 00:00:00 2001 From: Kruglov Pavel <48961922+Avogar@users.noreply.github.com> Date: Wed, 19 Apr 2023 18:21:38 +0200 Subject: [PATCH 1/2] Fix flaky 02706_arrow_different_dictionaries --- tests/queries/0_stateless/02706_arrow_different_dictionaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/02706_arrow_different_dictionaries.sh b/tests/queries/0_stateless/02706_arrow_different_dictionaries.sh index b755696aec2..d3958aa768d 100755 --- a/tests/queries/0_stateless/02706_arrow_different_dictionaries.sh +++ b/tests/queries/0_stateless/02706_arrow_different_dictionaries.sh @@ -5,5 +5,5 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh -$CLICKHOUSE_LOCAL -q "select toLowCardinality(toString(number % 10)) as x from numbers(20) format Arrow settings max_block_size=7, output_format_arrow_low_cardinality_as_dictionary=1" | $CLICKHOUSE_LOCAL -q "select * from table" --input-format='Arrow' +$CLICKHOUSE_LOCAL -q "select toLowCardinality(toString(number % 10)) as x from numbers(20) format Arrow settings max_block_size=7, output_format_arrow_low_cardinality_as_dictionary=1" | $CLICKHOUSE_LOCAL -q "select * from table order by x" --input-format='Arrow' From 8f159e3a01a8fdb8870614ac819f2d8586aa099d Mon Sep 17 00:00:00 2001 From: Kruglov Pavel <48961922+Avogar@users.noreply.github.com> Date: Wed, 19 Apr 2023 18:23:02 +0200 Subject: [PATCH 2/2] Update test reference --- ...2706_arrow_different_dictionaries.reference | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/queries/0_stateless/02706_arrow_different_dictionaries.reference b/tests/queries/0_stateless/02706_arrow_different_dictionaries.reference index 7b36cc96f5e..eda4c04d605 100644 --- a/tests/queries/0_stateless/02706_arrow_different_dictionaries.reference +++ b/tests/queries/0_stateless/02706_arrow_different_dictionaries.reference @@ -1,20 +1,20 @@ 0 +0 1 -2 -3 -4 -5 -6 -7 -8 -9 -0 1 2 +2 +3 3 4 +4 +5 5 6 +6 +7 7 8 +8 +9 9