mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-26 12:44:10 +00:00
Expose live compaction tasks through the datanode inspection path with node pruning, lazy projected batches, and residual SQL filtering. Reuse inspection request and plan helpers across compaction and SST tables. Cover routing, projection, predicates, and lifecycle behavior in datanode, standalone and distributed integration, and SQL tests. Use the production information extension in the standalone test fixture. Signed-off-by: WenyXu <wenymedia@gmail.com>
9 lines
396 B
SQL
9 lines
396 B
SQL
DESC TABLE information_schema.compaction_tasks;
|
|
|
|
SELECT * FROM information_schema.compaction_tasks WHERE node_id = 18446744073709551615;
|
|
|
|
-- Constant projections and aggregates must preserve the empty row count.
|
|
SELECT 1 FROM information_schema.compaction_tasks WHERE node_id = 18446744073709551615;
|
|
|
|
SELECT count(*) FROM information_schema.compaction_tasks WHERE node_id = 18446744073709551615;
|