I am building a vehicle location tracking dataset where I want to keep a history of vehicle locations for future analysis.
I am using the ChangeDetector to compare the values in two tables based on a field called device]. I want to compare the device] in table 1 with the most recent device] in table 2 and if there has been a change, 'insert' those values from table 1 into table 2. So where device] is in table 2 multiple times, I want to compare only the most recent record of the device] details.
When running the ChangeDetector, i have noticed that everything in the Deleted output seems to be the older duplicates.
This moves me to my question. Does ChangeDetector just look for the first match for the value and move the others to the Deleted port? Does ChangeDetector use the timestamp field that I have to automatically detect the most recent?
Can't seem to find any documentation on this?