Expand description
Arrow schemas for the columnar memory tables.
memory_nodes / memory_edges are ordinary Kyma columnar tables, written
through the ingest WritePath and registered as the memory graph. They
must be created with an EXPLICIT schema (auto-provisioning can’t declare the
embedding vector column). Timestamps are stored as RFC3339 strings so
lexicographic ordering = chronological ordering (and to avoid Arrow
timestamp-coercion pitfalls); updated_at is the latest-wins version key.
Constants§
- BITEMPORAL_
COLUMNS - Columns an older
memory_nodestable may be missing (added after initial provisioning: bi-temporal validity + the topic-key upsert key). The writer detects the drift and backfills them viaalter_table_add_column(old extents null-fill on read).
Functions§
- memory_
edges_ schema - Schema for
memory_edges. Graph columns:src,dst,type,realm.target_namespacecarries the foreign endpoint’sdatabase/graphfor cross-graphREFERENCESedges so the unified canvas can stitch them. - memory_
nodes_ schema - Schema for
memory_nodes.dimis the embedding dimension (e.g. 384).