ClickHouse/tests/queries/0_stateless/02454_set_parameters_formatting.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
315 B
Bash
Raw Normal View History

2022-09-26 13:45:40 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
set -e
format="$CLICKHOUSE_FORMAT"
echo "set param_a = 1" | $format
echo "set max_threads = 1, param_a = 1" | $format
echo "set param_a = 1, max_threads = 1" | $format