mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-09-06 21:48:58 +00:00
* feat(table): add entity semantic declarations Define open-ended greptime.semantic.entity.* options, validate entity columns at DDL time, and stamp OTLP trace tables with the service entity declaration. Signed-off-by: Dennis Zhuang <killme2008@gmail.com> * feat: add read-time entity relationships graph Add computed semantic graph tables, typed DataFusion derivation plans for entity registry and trace calls edges, and streaming read-time execution. Signed-off-by: Dennis Zhuang <killme2008@gmail.com> * test: exclude semantic graph tables from table constraints Signed-off-by: Dennis Zhuang <killme2008@gmail.com> * refactor(operator): name the plan-builder source groupings Review feedback: build_registry_plan / build_calls_plan took anonymous (declarations, DataFrame) tuples while the caller already grouped the same fields. Introduce RegistrySource { declarations, scan } and CallsSource { service, scan } next to the builders and flow them through the frontend caller and tests. The frontend-side EntitySource keeps holding a TableRef (the operator builders stay pure over already-built scans), so the named structs live in operator rather than reusing that type. No behavior change. Signed-off-by: Dennis Zhuang <killme2008@gmail.com> --------- Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
38 lines
631 B
SQL
38 lines
631 B
SQL
create schema abc;
|
|
|
|
use abc;
|
|
|
|
create table t (ts timestamp time index);
|
|
|
|
create schema abcde;
|
|
|
|
use abcde;
|
|
|
|
create table t (ts timestamp time index);
|
|
|
|
select table_catalog, table_schema, table_name from information_schema.tables where table_schema not in ('information_schema', 'greptime_private');
|
|
|
|
use public;
|
|
|
|
drop schema abc;
|
|
|
|
drop schema abcde;
|
|
|
|
drop schema information_schema;
|
|
|
|
use information_schema;
|
|
|
|
create table t (ts timestamp time index);
|
|
|
|
drop table build_info;
|
|
|
|
alter table build_info add q string;
|
|
|
|
truncate table build_info;
|
|
|
|
insert into build_info values ("", "", "", "", "");
|
|
|
|
delete from build_info;
|
|
|
|
use public;
|