| 1234567891011121314151617181920212223242526272829303132333435 |
- -- 14bucket 目录初始化:Bucket 操作测试
- create class if not exists /test/aaa/test_bucket_logs (
- name varchar,
- msg text,
- n int,
- keys(name)
- ) with bucket=logs
- ;
- create class if not exists /test/aaa/test_bucket_strulogs (
- name varchar,
- data text,
- val int,
- keys(name)
- ) with bucket=strulogs
- ;
- create class if not exists /test/aaa/test_bucket_tsdb (
- name varchar,
- value int,
- ts timestamp,
- keys(name)
- ) with bucket=tsdb
- ;
- create class if not exists /test/aaa/test_bucket_promdb (
- name varchar,
- metric double,
- ts timestamp,
- keys(name)
- ) with bucket=promdb
- ;
|