Skip to main content
Solved

ChangeDetector how to question

  • October 23, 2024
  • 1 reply
  • 103 views

vxn43
Supporter
Forum|alt.badge.img+18

I have two spreadsheets. One is the original data; the other is data that has changed. The schemas are the same. The spreadsheet with the changes has 3 records. 

I need to add these 3 records into the original data (while deleting the original 3 records in the original data), thus updating the records in the original. 

What is the best way to do this using ChangeDetector?

Currently, when I use ChangeDetector, the records from the changes spreadsheet are output to Inserted; The records from the original spreadsheet are output to Deleted. Deleted includes the 3 unchanged records that are in changes spreadsheet. 

 

In the screenshot below the 95,392 in Deleted include the unchanged records that are in Changes. The transformer outputs the Original and Revised separately with no way for me to delete the 3 records in 95,392 and add the 3 changed records?

 

Best answer by ebygomm

You probably don’t need the change detector here, since your changes are already identified (the 3 records in the original). What output format are you writing to? Depending on this, you may just need to send the changed records as updates to the writer.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • October 23, 2024

You probably don’t need the change detector here, since your changes are already identified (the 3 records in the original). What output format are you writing to? Depending on this, you may just need to send the changed records as updates to the writer.