We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CREATE TABLE my_db.my_tbl on cluster my_cluster Engine = Distributed('my_cluster', 'my_db', 'my_tbl_local', rand()) as my_db.my_tbl_local CREATE TABLE mydb.mytb (uuid UUID DEFAULT generateUUIDv4(), cktime DateTime DEFAULT now() COMMENT 'c', openid String, username String, appid String, from_channel String, source_channel String, source String, regtime DateTime, brandid String, devicecode String, actiontime DateTime, ismingamelogin String, version String, platform String, project String, plat String, source_openid String COMMENT 'a', event Int16 COMMENT 'b') ENGINE = ReplicatedMergeTree('/clickhouse/mydb/mytb/{shard}', '{replica}') PARTITION BY toYYYYMM(cktime) ORDER BY (regtime, appid, openid) SETTINGS index_granularity = 8192
uuid
cktime
openid
username
appid
from_channel
source_channel
source
regtime
brandid
devicecode
actiontime
ismingamelogin
version
platform
project
plat
source_openid
event
The text was updated successfully, but these errors were encountered:
fixed issue #1
91c6298
Thanks for your feedback. It is fixed by the last commit.
Sorry, something went wrong.
No branches or pull requests
CREATE TABLE my_db.my_tbl on cluster my_cluster Engine = Distributed('my_cluster', 'my_db', 'my_tbl_local', rand()) as my_db.my_tbl_local
CREATE TABLE mydb.mytb (
uuid
UUID DEFAULT generateUUIDv4(),cktime
DateTime DEFAULT now() COMMENT 'c',openid
String,username
String,appid
String,from_channel
String,source_channel
String,source
String,regtime
DateTime,brandid
String,devicecode
String,actiontime
DateTime,ismingamelogin
String,version
String,platform
String,project
String,plat
String,source_openid
String COMMENT 'a',event
Int16 COMMENT 'b') ENGINE = ReplicatedMergeTree('/clickhouse/mydb/mytb/{shard}', '{replica}') PARTITION BY toYYYYMM(cktime) ORDER BY (regtime, appid, openid) SETTINGS index_granularity = 8192The text was updated successfully, but these errors were encountered: