Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] Provide upstream asset materialization events to currently materializing asset #18916

Closed
wants to merge 3 commits into from

Conversation

jamiedemaria
Copy link
Contributor

@jamiedemaria jamiedemaria commented Dec 28, 2023

Summary & Motivation

Piggybacks on the data version computations to maintain a dictionary of the latest AssetMaterialization for all of the upstream dependencies for a materializing asset. This allows us to provide the asset materialization for an upstream asset in the compute function. In turn this provides access to metadata

How I Tested These Changes

@jamiedemaria
Copy link
Contributor Author

jamiedemaria commented Dec 28, 2023

@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from dc32768 to 1922411 Compare December 28, 2023 17:34
@jamiedemaria jamiedemaria changed the base branch from master to jamie/remove-nothing-special-casing December 28, 2023 17:34
@jamiedemaria jamiedemaria changed the title Access upstream asset metadata in downsteam asset Enable accessing upstream metadata by providing upstream asset materialization events to currently materializing asset Dec 28, 2023
@jamiedemaria jamiedemaria changed the title Enable accessing upstream metadata by providing upstream asset materialization events to currently materializing asset Provide upstream asset materialization events to currently materializing asset Dec 28, 2023
@jamiedemaria jamiedemaria force-pushed the jamie/remove-nothing-special-casing branch from bb786c6 to e3d8b45 Compare January 2, 2024 20:02
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 70b8610 to 9051a62 Compare January 2, 2024 20:02
@jamiedemaria jamiedemaria changed the base branch from jamie/remove-nothing-special-casing to jamie/upath-return-none-when-no-file January 2, 2024 20:02
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from 7b3e547 to d225e92 Compare January 2, 2024 21:10
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch 3 times, most recently from 56a2790 to 047325b Compare January 3, 2024 01:39
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from cc86d44 to 482da77 Compare January 3, 2024 20:51
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 047325b to 75d69d2 Compare January 3, 2024 20:51
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from 482da77 to bf99217 Compare January 4, 2024 00:09
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 75d69d2 to b7aba1e Compare January 4, 2024 00:09
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from bf99217 to 7c09193 Compare January 4, 2024 16:08
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from b7aba1e to 3f1cf4e Compare January 4, 2024 16:08
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from 7c09193 to 8bd5fe7 Compare January 4, 2024 16:10
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 3f1cf4e to 19eee0e Compare January 4, 2024 16:10
@jamiedemaria jamiedemaria force-pushed the jamie/upath-return-none-when-no-file branch from 8bd5fe7 to 41070f0 Compare January 5, 2024 18:21
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 19eee0e to 963ec15 Compare January 5, 2024 18:21
@jamiedemaria jamiedemaria force-pushed the jamie/upstream-metadata branch from 963ec15 to 1141833 Compare January 16, 2024 15:54
@jamiedemaria jamiedemaria changed the base branch from jamie/upath-return-none-when-no-file to master January 16, 2024 15:54
Copy link

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-ucu27o2cy-elementl.vercel.app
https://jamie-upstream-metadata.components-storybook.dagster-docs.io

Built with commit 1141833.
This pull request is being automatically deployed with vercel-action

Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-2kyqnzqyx-elementl.vercel.app
https://jamie-upstream-metadata.core-storybook.dagster-docs.io

Built with commit 1141833.
This pull request is being automatically deployed with vercel-action

Copy link

Deploy preview for dagster-docs ready!

Preview available at https://dagster-docs-7txr1egnj-elementl.vercel.app
https://jamie-upstream-metadata.dagster.dagster-docs.io

Direct link to changed pages:

@jamiedemaria jamiedemaria changed the title Provide upstream asset materialization events to currently materializing asset [do not merge] Provide upstream asset materialization events to currently materializing asset Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant