mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
13 lines
427 B
Bash
Executable File
13 lines
427 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 -o pipefail
|
|
|
|
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test_00598"
|
|
$CLICKHOUSE_CURL -sS -d 'CREATE TABLE test_00598 ENGINE = Memory AS SELECT 1' "$CLICKHOUSE_URL"
|
|
$CLICKHOUSE_CLIENT --query="SELECT * FROM test_00598"
|
|
$CLICKHOUSE_CLIENT --query="DROP TABLE test_00598"
|