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

Avoid trying to find max between None and non None value #20

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

Conversation

pvonglehn
Copy link

@pvonglehn pvonglehn commented Apr 16, 2023

Description of change

fixes #19

Set the value of max_bookmark to the first value of the bookmark column directly without comparing the first value of the bookmark column to None. This avoids TypeError from max(None, 1)

Manual QA steps

Set up a new tap project with non None bookmark column and run the tap

Risks

Rollback steps

  • revert this branch

@pvonglehn pvonglehn changed the title Avoid trying to find max between None and non none value Avoid trying to find max between None and non None value Apr 16, 2023
@pvonglehn
Copy link
Author

pvonglehn commented Apr 16, 2023

@nick-mccoy @dmosorast @aaronsteers could you kindly review or let me know who can, thanks!

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 due to trying to find max between None with non None value
1 participant