mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-26 20:54:08 +00:00
* fix: stream remote analyze metrics while pending Signed-off-by: discord9 <discord9@163.com> * test: verify flight metrics preserve pending batch Signed-off-by: discord9 <discord9@163.com> * fix: preserve direct SST perf queries in plans Signed-off-by: discord9 <discord9@163.com> * fix: bind flight metrics capability to query Signed-off-by: discord9 <discord9@163.com> --------- Signed-off-by: discord9 <discord9@163.com>
16 lines
409 B
SQL
16 lines
409 B
SQL
CREATE TABLE t_analyze_verbose_remote_metrics_extension(
|
|
ts TIMESTAMP TIME INDEX,
|
|
host STRING PRIMARY KEY,
|
|
val INT
|
|
)
|
|
PARTITION ON COLUMNS (host) (
|
|
host < 'm',
|
|
host >= 'm'
|
|
);
|
|
|
|
INSERT INTO t_analyze_verbose_remote_metrics_extension VALUES
|
|
('2024-02-04 00:00:00+0000', 'host_a', 1),
|
|
('2024-02-04 00:01:00+0000', 'host_z', 2);
|
|
|
|
ADMIN FLUSH_TABLE('t_analyze_verbose_remote_metrics_extension');
|