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

bug: data yields into incorrect table when nesting manually #2109

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

joscha
Copy link
Contributor

@joscha joscha commented Nov 28, 2024

Description

I noticed in a real-life environment that mixing yields without markers and markers sometimes pushes data into the wrong table.
I was able to create a test case that reproduces it.

The expected outcome is 4 tables, looking like this:

things:

id
1000
2000

things_a:

id my_resource_id value
a 1000 1
a 2000 4

things_b:

id my_resource_id value
b 1000 2
b 2000 5

things_c:

id my_resource_id value
c 1000 3
c 2000 6

but instead things_c receives an additional item intended for the non-marked table things, so it looks like this:

things_c:

id my_resource_id value
c 1000 3
2000 None None
c 2000 6

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 0471261
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/6748b11a98f6e80008db5d1d
😎 Deploy Preview https://deploy-preview-2109--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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