mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
10 lines
364 B
Bash
10 lines
364 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||
|
# shellcheck source=../shell_config.sh
|
||
|
. "$CUR_DIR"/../shell_config.sh
|
||
|
|
||
|
$CLICKHOUSE_CLIENT --param_foo |& grep -q -x 'Code: 36. DB::Exception: Parameter requires value'
|
||
|
$CLICKHOUSE_CLIENT --param_foo foo -q 'select {foo:String}'
|
||
|
$CLICKHOUSE_CLIENT -q 'select {foo:String}' --param_foo foo
|