mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
f8dc8f32d5
* Maybe fix flappy test * Make changelog * Revert "Temporary revert doc about new package name (clickhouse-server vs cickhouse-server-common)" This reverts commit721153ed53
. * Revert "Temporary revert site about new package name (clickhouse-server vs clickhouse-server-common)" This reverts commitba5cb121ae
. * Better changelog * Better * Better changelog * more * Update CHANGELOG_RU.md * Update CHANGELOG_RU.md * Update CHANGELOG_RU.md
12 lines
508 B
Bash
Executable File
12 lines
508 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
. $CURDIR/../shell_config.sh
|
|
|
|
set -e -o pipefail
|
|
|
|
${CLICKHOUSE_CURL_COMMAND} --max-time 30 -sS "$CLICKHOUSE_URL?query_id=hello" -d 'SELECT sum(ignore(*)) FROM (SELECT number % 1000 AS k, groupArray(number) FROM numbers(20000000) GROUP BY k)' | wc -l &
|
|
sleep 0.1 # First query (usually) should be received by the server after this sleep.
|
|
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "KILL QUERY WHERE query_id = 'hello' FORMAT Null"
|
|
wait
|