Skip to content

Import research: recipes as materialized views, update modes measured against real source shapes #70

Description

@phas02

What it buys

A decided import design before the storage layer moves again. The direction: a recipe is a materialized view over a source; its result lands as parquet; versions belong to the record and the cube, not to the data.

What stands

The research

Shapes, each with what an update means for it: a file drop that grows; a file rewritten whole on every export; a partitioned lake where one partition moves; a database with an update key; a database with hard deletes, fenced by its owner into a view or a replica.

Modes to measure against them: full replace; append of new files; partition replace; increment by update key; merge on key. For each: cost at three sizes, what it requires of storage, what the record must remember to run it again.

The deliverable is that table. The storage decision reads off it: what remains of the data plane after landings, recipes and versions are record rows is a file list per recipe version and the engine's parquet scan.

Done when

The table exists with measured numbers; the recipe's update mode is one word on the declaration, proposed as a SPEC.md diff; the storage decision is a ruling with its grounds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions