ClickHouse/tests
Azat Khuzhin 8703b7863d Fix distributed_group_by_no_merge=2 with GROUP BY
Before this patch the following query:

  SELECT assumeNotNull(argMax(dummy, 1))
  FROM remote('127.1', system.one)
  SETTINGS distributed_group_by_no_merge = 2

Leads to:

  Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column argMax(dummy, 1) in block: while executing 'INPUT : 0 -> argMax(dummy, 1) UInt8 : 0'.

Since it tries to execute function one more time, but shards will not
send this column when the query processed with
distributed_group_by_no_merge=2 (i.e. up to
WithMergeableStateAfterAggregation).

v0: no exception
v2: execut window functions
v3: throw exception, since executing window function in this case will
lead to messy output
2021-05-06 00:21:47 +03:00
..
ci Remove obsolete compilers 2021-04-28 07:16:48 +03:00
config Preserve errors for INSERT into Distributed 2021-04-28 22:33:29 +03:00
external_models/catboost
fuzz
instructions
integration Merge pull request #23874 from filimonov/librdkafka161 2021-05-05 13:48:14 +03:00
jepsen.clickhouse-keeper
perf_drafts
performance Fix error in perf test 2021-04-22 08:43:20 +03:00
queries Fix distributed_group_by_no_merge=2 with GROUP BY 2021-05-06 00:21:47 +03:00
testflows Update regression.py 2021-04-22 01:17:26 +03:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test clickhouse-test: send TERM to all childs (to avoid hung check triggering) 2021-05-01 08:46:59 +03:00
clickhouse-test-server
client-test.xml
CMakeLists.txt
decimals_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt
server-test.xml
stress
strings_dictionary.xml
tsan_suppressions.txt
ubsan_suppressions.txt
users.xml