hangout-output-clickhouse icon indicating copy to clipboard operation
hangout-output-clickhouse copied to clipboard

写入的时候支持ClickHouse函数

Open RickyHuo opened this issue 6 years ago • 0 comments

CREATE TABLE test.access_msg_test ( date Date, domain String, url String) ENGINE = MergeTree PARTITION BY date ORDER BY (date, domain) SETTINGS index_granularity = 8192

insert into test.access_msg_test values (today(), domain('https://clickhouse.yandex/docs/en/single/#domain'), 'https://clickhouse.yandex/docs/en/single/#domain');

fields: ['date', 'domain(url) as domain', 'url']

RickyHuo avatar Dec 11 '18 03:12 RickyHuo