mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Add a test
This commit is contained in:
parent
df0e7d9ed3
commit
10d48f1203
@ -0,0 +1 @@
|
|||||||
|
1
|
11
tests/queries/0_stateless/02153_native_bounds_check.sh
Executable file
11
tests/queries/0_stateless/02153_native_bounds_check.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
|
# shellcheck source=../shell_config.sh
|
||||||
|
. "$CURDIR"/../shell_config.sh
|
||||||
|
|
||||||
|
# Should correctly handle error.
|
||||||
|
|
||||||
|
${CLICKHOUSE_LOCAL} --query "SELECT toString(number) AS a, toString(number) AS a FROM numbers(10)" --output-format Native |
|
||||||
|
${CLICKHOUSE_LOCAL} --query "SELECT * FROM table" --input-format Native --structure 'a LowCardinality(String)' 2>&1 |
|
||||||
|
grep -c -F Exception
|
Loading…
Reference in New Issue
Block a user