mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
11 lines
369 B
Bash
Executable File
11 lines
369 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
$CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS foo;"
|
|
# Missing arguments for array, table not created
|
|
$CLICKHOUSE_CLIENT -q "CREATE TABLE foo (a Array) Engine=Memory;" 2&>/dev/null
|
|
$CLICKHOUSE_CLIENT -q "SELECT 'Still alive';"
|