mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-28 14:46:22 +00:00
feat!: impl admin command (#4600)
* 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
This commit is contained in:
@@ -6,9 +6,9 @@ INSERT INTO test VALUES (1), (2), (3), (4), (5);
|
||||
|
||||
SELECT * FROM test;
|
||||
|
||||
SELECT FLUSH_TABLE('test');
|
||||
ADMIN FLUSH_TABLE('test');
|
||||
|
||||
SELECT COMPACT_TABLE('test');
|
||||
ADMIN COMPACT_TABLE('test');
|
||||
|
||||
--- doesn't change anything ---
|
||||
SELECT * FROM test;
|
||||
|
||||
Reference in New Issue
Block a user