mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Check result_rows and result_bytes in X-ClickHouse-Summary header
This commit is contained in:
parent
6e3a4b0a3d
commit
06341e1f17
@ -0,0 +1 @@
|
||||
< X-ClickHouse-Summary: {"read_rows":"100","read_bytes":"800","written_rows":"0","written_bytes":"0","total_rows_to_read":"100","result_rows":"100","result_bytes":"131"}
|
9
tests/queries/0_stateless/02373_progress_contain_result.sh
Executable file
9
tests/queries/0_stateless/02373_progress_contain_result.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
echo 'SELECT 1 FROM numbers(100)' |
|
||||
${CLICKHOUSE_CURL_COMMAND} -v "${CLICKHOUSE_URL}&wait_end_of_query=1&send_progress_in_http_headers=0" --data-binary @- 2>&1 |
|
||||
grep 'X-ClickHouse-Summary'
|
Loading…
Reference in New Issue
Block a user