Do a full_table refresh using version messages#10
Do a full_table refresh using version messages#10cdilga wants to merge 7 commits intosinger-io:masterfrom
Conversation
On the assignments schema, which fails to delete old messages
|
Testing setup: See the updated README.MD for a description of the setup, as the old README was outdated and didn't work. To test a code was generated from the developer section of harvest for oauth and formatted as specified in the README.md with client id, oauth and refresh tokens retrieved from Then, the code was run locally as per the getting started guide The tap was tested with tap-postgres and tap-singer in a local postgres environment in docker, and then with our Panoply data warehouse. To recreate the behavior, first create a user and project in Harvest Forecast, and assign that user to a project. Since this pull request has been submitted, a laptop has been running a WSL Bash script every 30 minutes scheduled through windows task scheduler to push new changes through to Stitch and then the Panoply data warehouse |
Description of changeIt was noticed that the assignments schema fails to delete old messages. See #9 and #5 for clarification around the issues, and a different tap but related issue in singer-io/tap-harvest#16 The problem is that source deletes do not cause corresponding deletes in the This change simply introduces the versioning messages and sets the active version upon completion to point to new data. Due to limitations in the source, the Manual QA stepsSee the updated README.MD for a description of the setup, as the old README was outdated and didn't work. To test a code was generated from the developer section of harvest for oauth and formatted as specified in the README.md with client id, oauth and refresh tokens retrieved from https://id.getharvest.com/oauth2/authorize?client_id={OAUTH_CLIENT_ID}&response_type=code Then, the code was run locally as per the getting started guide The tap was tested with tap-postgres and tap-singer in a local postgres environment in docker, and then with our Panoply data warehouse. To recreate the behavior, first create a user and project in Harvest Forecast, and assign that user to a project. Since this pull request has been submitted, a laptop has been running a WSL Bash script every 30 minutes scheduled through windows task scheduler to push new changes through to Stitch and then the Panoply data warehouse Risks
Rollback steps
|
|
Hey there, do you still use this tap and do you still encounter the updated_at error ? |
|
Hi there, |
|
Yep, we use this! |
|
@lochlmond if this PR is merged, everyone on Stitch will automatically start using it. Until this is merged, please share this PR with stitch support to encourage integration. Currently, the answer is no |
|
I'll check out these merge conflicts and hopefully it'll get approved again |
|
I believe that this was actually included when we merged #17 |
On the assignments schema, which fails to delete old messages
See #9 and #5 for clarification around the issues, and a different tap but related issue in singer-io/tap-harvest#16
In order to allow any given target to update their target, a version number is required. All old versions are now removed, and the state of the warehouse no longer includes the old deleted records from the assignments table.