-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[pac] GQL backend #33253
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
base: 01-22-_pac_reverse_order_of_check_event___asset_event_creation
Are you sure you want to change the base?
[pac] GQL backend #33253
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit aafa579. |
04a0928 to
2d22edf
Compare
ee869fb to
24088d1
Compare
2d22edf to
a46ebcd
Compare
413e5b2 to
9de34a6
Compare
41c2116 to
8924e96
Compare
6c29e1e to
b61afb6
Compare
8924e96 to
31a51b3
Compare
b61afb6 to
72de2cb
Compare
31a51b3 to
3fd86b4
Compare
72de2cb to
d17ed50
Compare
18cc9f0 to
2a99818
Compare
11982eb to
cf41ddf
Compare
2a99818 to
e9e1b75
Compare
e9e1b75 to
ca6ec29
Compare
cd6e372 to
4e18318
Compare
b2d651b to
b6a9634
Compare
01b1c94 to
d8da365
Compare
b6a9634 to
3c493b4
Compare
3c493b4 to
db921e5
Compare
d8da365 to
1815cf2
Compare
1815cf2 to
0b675d3
Compare
db921e5 to
01c4dff
Compare
01c4dff to
6dd4ddf
Compare
0b675d3 to
043aa4e
Compare
043aa4e to
e34146a
Compare
1601a4b to
8deb6a2
Compare
e34146a to
390d0b2
Compare
8deb6a2 to
eee594c
Compare
390d0b2 to
cc394fd
Compare
gibsondan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this all seems reasonable but the test coverage seems a little light - are you confident we have all this gnarly 2d dimension stuff covered / all the various partition types and statuses / stressing the run-length encoding / etc.?
| asset_check_support = graphene_info.context.instance.get_asset_check_support() | ||
| if asset_check_support == AssetCheckInstanceSupport.NEEDS_MIGRATION: | ||
| return GrapheneAssetCheckNeedsMigrationError( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i assume you meant to delete this block
| - MultiPartitionsDefinition in partitions_def → build_multi_partition_statuses_for_checks() | ||
| - Otherwise → build_default_partition_statuses_for_checks() | ||
| Note: Missing status is calculated on the frontend as the complement of all known statuses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh I had to look this one up for review
| secondary_serializable_subsets[status] = SerializableEntitySubset.from_coercible_value( | ||
| key, | ||
| list(secondary_subset.get_partition_keys()), | ||
| partitions_def.secondary_dimension.partitions_def, | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this method can raise an exception no? if there's something invalid about the subset now?
| partition_status = await AssetCheckState.gen( | ||
| graphene_info.context, (check_key, current_partition_def) | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be able to batch multiple keys right? not sure if we ever do that for this particular resolver
eee594c to
92673d1
Compare
cc394fd to
aafa579
Compare

Summary & Motivation
How I Tested These Changes
Changelog