Finds elements in only one or the other of two, sorted input lists.
Returns a three-element tuple of lists. The first list contains those elements in the "expected" list but not in the "actual" list, the second contains those elements in the "actual" list but not in the "expected" list, the third contains rows that are different despite having the same primary key.
else: # compare the data missing, unexpected, different = sorted_row_list_difference(merged_data, destination_data, self.pk_length) self.stats.update('comparer', start)
sorted_row_list_difference is referenced in 1 repositorygithub.com/mindreframer/golang-stuff
- 1 reference in github.com/youtube/vitess/py/checkers/checker.py