-
Notifications
You must be signed in to change notification settings - Fork 5.1k
fix(source-greenhouse): remove custom cursors #54702
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
Merged
Daryna Ishchenko (darynaishchenko)
merged 14 commits into
master
from
daryna/source-greenhouce/milliseconds-cursor
Mar 14, 2025
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
509f134
update airbyte-cdk to ^6
darynaishchenko fce6712
updated source.py and run.py
darynaishchenko 402b385
removed custom cursors and added custom state migration
darynaishchenko cb8cfce
removed custom cursor usage from manifest
darynaishchenko d371fe7
updated unit tests
darynaishchenko 7664473
fix cursors for eeoc_stream
darynaishchenko 82618e6
update to latest cdk, bump version
darynaishchenko f53a74b
updated dependencies and removed conftest.py
darynaishchenko 65456ae
removed cursor related parameters from stream definitions
darynaishchenko a546642
Merge branch 'master' into daryna/source-greenhouce/milliseconds-cursor
darynaishchenko bb9bdb9
updated changelog
darynaishchenko cf7c54b
removed stream_slice usage, refactored start_time_option
darynaishchenko 6bea957
Merge branch 'master' into daryna/source-greenhouce/milliseconds-cursor
darynaishchenko fb4e711
set Progressive Rollout
darynaishchenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,579 changes: 1,298 additions & 281 deletions
1,579
airbyte-integrations/connectors/source-greenhouse/poetry.lock
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 adding the comment for why we needed the custom component
Can you explain to me a little more about why this is needed. I think the explanation mostly makes sense, but I noticed that in the previous state format, it was stored as a string being the key, followed by that partition's state value. Why didn't run into the state key string vs. greenhouse id string in the old state format when we were using strings?
Not strictly a blocker, but it just seems interesting that we now have to convert state to integers when strings used to work
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.
It was working before because custom StreamSlicer overrides
stream_slicesmethod:so it has right partition where parent primary key(id) is integer: here
and converts parent primary key to string to access the cursor value from state: here
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.
that makes things more clear. I missed the part where the old custom component was casting. thank you