mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
16 lines
508 B
Bash
Executable File
16 lines
508 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 --query="DROP TABLE IF EXISTS tskv";
|
|
$CLICKHOUSE_CLIENT --query="CREATE TABLE tskv (text String) ENGINE = Memory";
|
|
|
|
# shellcheck disable=SC2028
|
|
echo -n 'tskv text=can contain \= symbol
|
|
' | $CLICKHOUSE_CLIENT --query="INSERT INTO tskv FORMAT TSKV";
|
|
|
|
$CLICKHOUSE_CLIENT --query="SELECT * FROM tskv";
|
|
$CLICKHOUSE_CLIENT --query="DROP TABLE tskv";
|