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

fix: Fixes null state attempting to be written #233

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

sebastianswms
Copy link
Collaborator

@sebastianswms sebastianswms commented Sep 11, 2023

Having a replication key column that contains null values was causing null state to be written under some circumstances. This PR sorts null values as the "lowest" result for replication key purposes, preventing nulls from taking precedence over real replication values.

Closes #203

@sebastianswms sebastianswms marked this pull request as ready for review September 11, 2023 16:07
@visch visch merged commit bcc0db1 into MeltanoLabs:main Sep 12, 2023
4 of 5 checks passed
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.

TypeError: '>=' not supported between instances of 'NoneType' and 'str' - When saving state
2 participants