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

Enable serializing partitions subset on materialization planned event #18418

Merged
merged 5 commits into from
Dec 12, 2023

Conversation

clairelin135
Copy link
Contributor

@clairelin135 clairelin135 commented Dec 1, 2023

This PR enables serializing a partitions subset on the asset materialization planned event. It adds an optional partitions_subset field that parallels the existing partition field on AssetMaterializationPlannedData.

Since we cannot query for partitions subsets events by partition key, the partitions subset is not mirrored to any columns, it only exists within the event body.

@clairelin135
Copy link
Contributor Author

clairelin135 commented Dec 1, 2023

@clairelin135 clairelin135 force-pushed the claire/status-single-run-backfill branch from 37c822b to 315cc58 Compare December 2, 2023 00:31
@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch from ef66c9f to bb3ff96 Compare December 2, 2023 00:31
@clairelin135 clairelin135 changed the base branch from claire/status-single-run-backfill to master December 2, 2023 01:30
@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch 4 times, most recently from ee96526 to c12261a Compare December 2, 2023 01:41
@clairelin135 clairelin135 marked this pull request as ready for review December 4, 2023 20:53
@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch from c12261a to 8214fd2 Compare December 5, 2023 00:55
Copy link

github-actions bot commented Dec 5, 2023

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-o5lvdm212-elementl.vercel.app
https://11-29-serialize-subset-on-event-first-stab.components-storybook.dagster-docs.io

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

Copy link

github-actions bot commented Dec 5, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-exqgbg6i5-elementl.vercel.app
https://11-29-serialize-subset-on-event-first-stab.core-storybook.dagster-docs.io

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

@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch from 8214fd2 to a7211b9 Compare December 5, 2023 01:07
Copy link
Contributor

@sryza sryza left a comment

Choose a reason for hiding this comment

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

Nice

python_modules/dagster/dagster/_serdes/serdes.py Outdated Show resolved Hide resolved
@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch from 21ca2e7 to 8bffa6b Compare December 8, 2023 23:20
@clairelin135 clairelin135 force-pushed the 11-29-serialize_subset_on_event_first_stab branch from 8bffa6b to 9007970 Compare December 12, 2023 21:54
@clairelin135 clairelin135 merged commit bf9820c into master Dec 12, 2023
1 check was pending
@clairelin135 clairelin135 deleted the 11-29-serialize_subset_on_event_first_stab branch December 12, 2023 22:24
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