mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
15 lines
578 B
Bash
Executable File
15 lines
578 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Tags: no-unbundled, no-fasttest
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
$CLICKHOUSE_CLIENT --query "CREATE TABLE IF NOT EXISTS test_01543 (value LowCardinality(String)) ENGINE=Memory()"
|
|
$CLICKHOUSE_CLIENT --query "INSERT INTO test_01543 SELECT toString(number) FROM numbers(1000)"
|
|
|
|
$CLICKHOUSE_CLIENT -q "SELECT * FROM test_01543 FORMAT Avro" |
|
|
$CLICKHOUSE_CLIENT -q "INSERT INTO test_01543 FORMAT Avro";
|
|
|
|
$CLICKHOUSE_CLIENT --query "DROP TABLE IF EXISTS test_01543"
|