views: allow materialized views to select a named source database #12
No reviewers
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!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rage/15-view-source-database"
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?
Implements #15 as the minimal generic upstream dependency required by lost-rob0t/hackmode#15.
RED-first evidence: exact test-only head
194df03706afa7ecbadad91c2461a0ea02c202careached the realLoad and test Tek9step and failed on both Ubuntu 22.04 and 24.04 jobs. Setup and benchmark-tool validation were green before the suite failure, so this is not environment noise.Implementation:
database-viewcarries an explicit source database name, defaulting to the primary DB for backward compatibility;new-viewaccepts:source-database-namewithout changing existing callers;:if-does-not-exist :error, so a miss fails closed instead of silently creating/reading the primary DB;view/<name>and publicview-get/view-rows/map-viewbehavior is unchanged;Tests cover named-source rebuild, incremental application, public row reads, unchanged primary-source behavior, and explicit failure for an unknown source. No Hackmode-specific view names or outbox semantics are introduced into Tek9.
Current candidate head:
18f0e81575c9774b3a277b2eba56319ac67ea8cc. Merge only if fresh exact-head CI is fully green.Pull request closed