mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
improve test
This commit is contained in:
parent
fa95fa1517
commit
40dde28f9a
@ -0,0 +1 @@
|
||||
10000
|
@ -1,14 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS graphite;"
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "CREATE TABLE graphite(\`Path\` String, \`Value\` Float64, \`Time\` UInt32, \`Date\` Date, \`Timestamp\` UInt32) \
|
||||
ENGINE = MergeTree PARTITION BY toYYYYMM(Date) ORDER BY (Path, Time) SETTINGS index_granularity = 8192;"
|
||||
|
||||
cat 02013_zlib_read_after_eof_data | go run 02013_zlib_read_after_eof.go
|
||||
cat data_zlib/02013_zlib_read_after_eof_data | go run 02013_zlib_read_after_eof.go
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "SELECT count() FROM graphite;"
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "drop table graphite"
|
||||
$CLICKHOUSE_CLIENT -q "drop table graphite;"
|
||||
|
Loading…
Reference in New Issue
Block a user