Allow materialized views to select a named source database #7
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/tek9#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Tek9 materialized views can be stored/read through the public view API, but
apply-view-to-databaseandapply-viewcurrently read only the primary database (+main-name+).database-viewhas no generic source-database field.Hackmode issue lost-rob0t/hackmode#15 needs
ingest/by-stateover its durable outbox records, which live in the named Tek9 databaseoutbox. Implementing that view today would require moving canonical data, duplicating it, or reaching around Tek9 internals. None are acceptable.Desired generic behavior
Let a materialized view declare the Tek9 source database it maps over while preserving the current primary database as the default for backward compatibility.
API naming is not prescribed. A shape such as
new-view ... :source-database-name "outbox"is sufficient if it remains storage-agnostic and the public view read API is unchanged.Constraints
view/<name>as the durable materialized representation unless Tek9 itself requires a generic change;RED-first acceptance
view-get/view-rows/map-viewAPIs;Downstream
Unblocks the
ingest/by-stateportion of lost-rob0t/hackmode#15. Hackmode will continue to own the actual investigation-view semantics.