mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
17 lines
343 B
Plaintext
17 lines
343 B
Plaintext
CREATE TABLE demo(host string, cpu double, memory double, ts TIMESTAMP time index);
|
|
|
|
Affected Rows: 0
|
|
|
|
insert into demo(host, cpu, memory, ts) values ('host1', 66.6, 1024, 1655276557000), ('host2', 88.8, 333.3, 1655276558000);
|
|
|
|
Affected Rows: 2
|
|
|
|
Copy demo TO '/tmp/export/demo.parquet';
|
|
|
|
Affected Rows: 2
|
|
|
|
drop table demo;
|
|
|
|
Affected Rows: 1
|
|
|