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

_WriteToRelationalDBFn does not wait record to be inserted in database #42

Open
manuelnucci opened this issue Jun 21, 2021 · 0 comments

Comments

@manuelnucci
Copy link

The DoFn _WriteToRelationalDBFn does not wait record to be inserted in database.

My current pipeline is:

pipeline

Because WriteToDB_1 returns the output collection immediately and I have a FK contraint in the DB, WriteToDB_2 crashes.

The expected behaviour would be to wait for each commit to be made and only then return the element. Can this be implemented in the library?

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

No branches or pull requests

1 participant