2021-08-18 16:15:57 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
|
|
# shellcheck source=../shell_config.sh
|
|
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
|
2021-08-19 11:44:51 +00:00
|
|
|
$CLICKHOUSE_CLIENT -q "drop table if exists tab;"
|
|
|
|
$CLICKHOUSE_CLIENT -q "create table tab(x LowCardinality(String)) engine = MergeTree order by tuple();"
|
2021-08-18 16:15:57 +00:00
|
|
|
|
2021-08-19 11:44:51 +00:00
|
|
|
# We should have correct env vars from shell_config.sh to run this test
|
2021-08-18 16:15:57 +00:00
|
|
|
python3 "$CURDIR"/2010_lc_native.python
|
2021-08-19 11:44:51 +00:00
|
|
|
|
|
|
|
$CLICKHOUSE_CLIENT -q "drop table if exists tab;"
|