2023-08-01 06:03:09 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-08-01 07:52:06 +00:00
|
|
|
# Tags: no-fasttest
|
2023-08-01 06:03:09 +00:00
|
|
|
|
|
|
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
|
|
# shellcheck source=../shell_config.sh
|
|
|
|
. "$CUR_DIR"/../shell_config.sh
|
|
|
|
|
2023-08-01 08:16:00 +00:00
|
|
|
pushd "${CLICKHOUSE_TMP}" || exit > /dev/null
|
2023-08-01 06:03:09 +00:00
|
|
|
|
|
|
|
echo "max_block_size: 31337" > clickhouse-client.yaml
|
|
|
|
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
|
|
|
rm clickhouse-client.yaml
|
|
|
|
|
2023-08-01 14:40:55 +00:00
|
|
|
echo "max_block_size: 31338" > clickhouse-client.yml
|
2023-08-01 06:03:09 +00:00
|
|
|
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
|
|
|
rm clickhouse-client.yml
|
|
|
|
|
2023-08-01 14:40:55 +00:00
|
|
|
echo "<clickhouse><max_block_size>31339</max_block_size></clickhouse>" > clickhouse-client.xml
|
2023-08-01 06:03:09 +00:00
|
|
|
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
|
|
|
rm clickhouse-client.xml
|
|
|
|
|
2023-08-01 08:16:00 +00:00
|
|
|
popd || exit > /dev/null
|