Forum Discussion
Copy Job: upsert not working as expected
- 1 year ago
Hello Anonymous
You are hitting a situation where the Copy Job’s upsert mechanism seems to be tied to metadata or state information that isn’t getting reset when the on-prem SQL table is dropped and recreated. Even though the pipeline recreates the table, it appears to detect no “new” rows to insert. A few approaches can help:
1. Recreate or delete it to reset the Copy Job state
3. Delete and rebuild the Copy Job (or create a brand-new Copy Job) so that any watermarks or incremental checkpoints are cleared and it does a fresh load.
2. Force a full load at least once
If the Copy Job was configured for incremental loading, temporarily switch it to a full load so it can repopulate the on-prem table. Then revert to incremental upsert after that run.hope this helps
The sole solution was indeed to remove the copy jobs and recreate them. thanks!
Agree. They should add a force full reload flag on the incremental loads. This is annoying when you have alot tables. UI is clinky and a bit slow.
- Anonymous1 year agoNot applicable
Apparently the product team is currently working on this feature