Skip to content

Allow materializer targets to specify inputs #713

@elijahbenizzy

Description

@elijahbenizzy

Is your feature request related to a problem? Please describe.
I want to be able to use materializers to create simple ETLs of just moving data from one place to another.

Describe the solution you'd like

A little odd but a good use-case. Specifically, I want something like this:

dr = driver.Builder().build() # empty driver
dr.materialize(
    to.csv(
        id="save_some_input_to_csv",
        dependencies=["some_input"]),
    inputs={
        "some_input" : SOME_DATAFRAME
    }
),

This should form a two-node DAG.

Describe alternatives you've considered
Just writing a function to do this, or doing it outside of Hamilton.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions