ClickHouse/tests/queries/0_stateless/02723_param_exception_message_context.sh
2023-04-23 11:11:40 +03:00

10 lines
375 B
Bash
Executable File

#!/usr/bin/env bash
# Tags: no-fasttest
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
# The exception message about unparsed parameter also tells about the name of the parameter.
$CLICKHOUSE_CLIENT --param_x Hello --query "SELECT {x:Array(String)}" 2>&1 | rg -oF "for query parameter 'x'" | uniq