Commit Graph
4 Commits
Author SHA1 Message Date
Weny Xu 1ba656e345 perf(catalog): batch cached metadata reads for information schema scans (#10542)
* feat(meta): support cached batch lookups for flows and views

Signed-off-by: WenyXu <wenymedia@gmail.com>

* feat(partition): batch-load cached routes for partition scans

Signed-off-by: WenyXu <wenymedia@gmail.com>

* perf(meta): bound marker reads when listing dropped tables

Signed-off-by: WenyXu <wenymedia@gmail.com>

* perf(catalog): stream information schema scans through metadata caches

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(catalog): gate the recycle bin metadata accessor

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(meta): coordinate schema, view, and flow cache updates

Signed-off-by: WenyXu <wenymedia@gmail.com>

* perf(operator): bound concurrent flow lookups for multi-table writes

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(meta): reuse cache key and batch value conversions

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(catalog): extract metadata loaders from information schema scans

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(catalog): remove unused scan dependencies

Signed-off-by: WenyXu <wenymedia@gmail.com>

* chore: align metadata cache visibility and API documentation

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(meta): share physical routes across logical table lookups

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(catalog): share metadata loaders across scan paths

Signed-off-by: WenyXu <wenymedia@gmail.com>

* test: verify cache batch reads and information schema options

Signed-off-by: WenyXu <wenymedia@gmail.com>

* test(sqlness): order information schema table rows before comparison

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(catalog): finish partition lookups before loading the next table batch

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(meta): load all source table flows on a cold lookup after create

Signed-off-by: WenyXu <wenymedia@gmail.com>

---------

Signed-off-by: WenyXu <wenymedia@gmail.com>
2026-11-20 04:58:15 +00:00
dennis zhuang 3d12273c84 feat: read-time entity relationships graph over telemetry (M0+M1) (#8614)
* 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>
2026-08-07 03:37:14 +00:00
Yohan Wal c4db9e8aa7 fix!: forbid to change information_schema (#4233)
* fix: forbid to change tables in information_schema

* refactor: use unified read-only check function

* test: add more sqlness tests for information_schema

* refactor: move is_readonly_schema to common_catalog
2024-07-03 03:09:23 +00:00
Ruihang Xia 85a231850d fix: add tailing separator to prefix (#4078)
* fix: add tailing separator to prefix

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* project select result

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-05-30 15:29:26 +00:00