-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 Shopify: Fix FAILED
scenario for BULK
streams, fixed deleted events
STATE collision
#42973
🐛 Source Shopify: Fix FAILED
scenario for BULK
streams, fixed deleted events
STATE collision
#42973
Conversation
…fix-faild-bulk-and-deleted-events
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…fix-faild-bulk-and-deleted-events
Regression Tests fail is expected in:
All the rest - it 1:1. |
/approve-regression-tests
|
…fix-faild-bulk-and-deleted-events
…fix-faild-bulk-and-deleted-events
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.
Just a couple questions to make sure I understand properly
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/query.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/streams/base_streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/query.py
Show resolved
Hide resolved
…fix-faild-bulk-and-deleted-events
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.
Thanks for the added context. I'm good with those changes!
/approve-regression-tests
|
/approve-regression-tests
|
Thanks @bazarnov for those fix |
What
Resolving:
How
There are a couple of issues faced during the investigation of the OC:
bulk checkpointing
with FAILED Job status, could run into aninfinity loop
, with no further resolutions, in this case, we should raise an Exception and retry with the next sync attempt (INCOMPLETE status for the stream)bulk checkpointing
now can catch thepartialDataUrl
and proceed with the partial results collected correctly.metafields_product_images
has changed the way we query themetafields
due to the fact they suddenly changed theownership
of theMetafield
resource we pull (metafield product images), now we query frommedia
, instead ofimages
. More information about this here. This is super annoying because Shopify changed the way they store themetafields
for product images for future2024-10
but applied the change to the2024-04
(current shopify API version the source uses). Thus, theid
assigned to the metafield has changed because the ownership has changed fromprodcut_image
tomedia_image
.Failed CAT test, with 0 records returned for
metafield_product_images
Orders
and others that supportDeleted Events
fetch, the STATE overlap/collision was fixed; now, the STATE emitted from the main stream's part and the STATE from the deleted events are resolved correctly.User Impact
This is not a breaking change! No impact is expected.
Can this PR be safely reverted and rolled back?