telegraf/plugins/outputs/sql/testdata/clickhouse/expected.txt

35 lines
732 B
Plaintext

2021-05-17 22:04:45 tag1 tag2 1234 2345 1 0
CREATE TABLE foo.metric_one
(
`timestamp` DateTime,
`tag_one` String,
`tag_two` String,
`int64_one` Int64,
`int64_two` Int64,
`bool_one` UInt8,
`bool_two` UInt8
)
ENGINE = MergeTree
ORDER BY timestamp
SETTINGS index_granularity = 8192
2021-05-17 22:04:45 tag3 string1
CREATE TABLE foo.metric_two
(
`timestamp` DateTime,
`tag_three` String,
`string_one` String
)
ENGINE = MergeTree
ORDER BY timestamp
SETTINGS index_granularity = 8192
2021-05-17 22:04:45 tag4 string2
CREATE TABLE foo.`metric three`
(
`timestamp` DateTime,
`tag four` String,
`string two` String
)
ENGINE = MergeTree
ORDER BY timestamp
SETTINGS index_granularity = 8192