Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

写入的时候支持ClickHouse函数 #17

Open
RickyHuo opened this issue Dec 11, 2018 · 0 comments
Open

写入的时候支持ClickHouse函数 #17

RickyHuo opened this issue Dec 11, 2018 · 0 comments
Labels

Comments

@RickyHuo
Copy link
Owner

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']
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant