This repository was archived by the owner on Dec 15, 2023. It is now read-only.
Release v0.0.2
Changelog
New Features
- Add new subsumand
iotdb file
, execute sql from the specified sql file like
$ iotdb file tests/create_and_insert.sql
Statements: [
"DELETE STORAGE GROUP root.test;",
"CREATE TIMESERIES root.test.status WITH DATATYPE=BOOLEAN, ENCODING=PLAIN;",
"CREATE TIMESERIES root.test.temperature WITH DATATYPE=FLOAT, ENCODING=RLE;",
"INSERT INTO root.test(timestamp, status)\n values (1637960249484, true);",
"INSERT INTO root.test(timestamp, status, temperature)\n values (1637960256493, false, 20.71);",
"INSERT INTO root.test(timestamp, status, temperature)\n values (1637960261494, true, 32.43);",
"INSERT INTO root.test(timestamp, status, temperature)\n values (1637960272492, false, 28.66);",
"INSERT INTO root.test(timestamp, status, temperature)\n values (1637960272492, true, 22.61);",
"INSERT INTO root.test(timestamp, status, temperature)\n values (1637960296493, false, 28.66);",
]
22:00:54 [INFO] Execute statements "Execute batch statements successfully"