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

Source Asset -> Unexecutable Asset Adapter #16617

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

schrockn
Copy link
Member

@schrockn schrockn commented Sep 19, 2023

Summary & Motivation

Allow us to wrap an unexecutable source asset in a vanilla assets definition.

How I Tested These Changes

BK

@github-actions
Copy link

github-actions bot commented Sep 20, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-3mbypstg2-elementl.vercel.app
https://source-asset-wrapping-1.core-storybook.dagster-docs.io

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

@github-actions
Copy link

github-actions bot commented Sep 20, 2023

@github-actions
Copy link

github-actions bot commented Sep 20, 2023

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-qlq7vqwkj-elementl.vercel.app
https://source-asset-wrapping-1.components-storybook.dagster-docs.io

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

Copy link
Member

@alangenfeld alangenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is the goal checking this in? Just check pointing that in process APIs work with the wrapper approach?

We'll need something along the lines of #16637 to validate compatibility through the host process / UI experience. Does that just come later? Should we block this PR on covering that as well?

Comment on lines +68 to +71
"metadata": {
**source_asset.metadata,
**{SYSTEM_METADATA_KEY_ASSET_EXECUTION_TYPE: AssetExecutionType.UNEXECUTABLE.value},
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well need to ensure is_source get toggled on the ExternalAssetNode somehow, maybe other metadata or another update to the execution type enum

@schrockn
Copy link
Member Author

Goal is to essentially enable writing that test case and making incremental progress on an implementation. I'm more than happy to move it to the test file itself or to park it.

Copy link
Member

@alangenfeld alangenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its fine to land the incremental progress so we can iterate.

Can you update the summary accordingly. Just want to make it easy for someone in the future who bumps in to any loose ends left from this to be able to discern what was going on.

schrockn and others added 2 commits September 20, 2023 16:36
lint

fix rebasE

support partitions

cleanup

cleanup
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.

2 participants