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

Copy demo TO '/tmp/export/demo.csv' with (format='csv');

Affected Rows: 2

Copy demo TO '/tmp/export/demo.json' with (format='json');

Affected Rows: 2

drop table demo;

Affected Rows: 0

