mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-10 07:12:54 +00:00
* feat: impl admin statement parser * feat: introduce AsyncFunction and implements it for admin functions * feat: execute admin functions * fix: license header * fix: panic in test * chore: fixed by code review
17 lines
288 B
SQL
17 lines
288 B
SQL
--- test flush_table and compact_table ---
|
|
|
|
CREATE TABLE test(ts timestamp time index);
|
|
|
|
INSERT INTO test VALUES (1), (2), (3), (4), (5);
|
|
|
|
SELECT * FROM test;
|
|
|
|
ADMIN FLUSH_TABLE('test');
|
|
|
|
ADMIN COMPACT_TABLE('test');
|
|
|
|
--- doesn't change anything ---
|
|
SELECT * FROM test;
|
|
|
|
DROP TABLE test;
|