dagster icon indicating copy to clipboard operation
dagster copied to clipboard

fix InputContext partition methods for when upstream asset is not par…

Open sryza opened this issue 2 years ago • 1 comments

…t of run

Summary & Motivation

In some situations where we materialize an asset that depends on a partitioned asset, and that upstream partitioned asset isn't part of the run, the methods of InputContext return incorrect values or fail. This fixes that.

This fixes part of the issue reported here: https://github.com/dagster-io/dagster/issues/9277.

How I Tested These Changes

Modified tests. Ran the HN example (along with changing to the example itself to use InputContext directly instead of upstream_output).

sryza avatar Aug 08 '22 20:08 sryza

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated
dagit-storybook ⬜️ Ignored (Inspect) Aug 10, 2022 at 8:55PM (UTC)
dagster ⬜️ Ignored (Inspect) Aug 10, 2022 at 8:55PM (UTC)
dagster-oss-cloud-consolidated ⬜️ Ignored (Inspect) Aug 10, 2022 at 8:55PM (UTC)

vercel[bot] avatar Aug 08 '22 20:08 vercel[bot]