ClickHouse/tests/queries/0_stateless/02454_set_parameters_formatting.sh
Nikolay Degterinsky b69388d3e7 Add test
2022-09-26 13:45:40 +00:00

14 lines
315 B
Bash
Executable File

#!/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