datajoint-matlab icon indicating copy to clipboard operation
datajoint-matlab copied to clipboard

dj.Relvar/importAll should throw error or warning on duplicate insert

Open jakereimer opened this issue 7 years ago • 1 comments

importAll currently inserts backed-up tuples using inserti, which discards errors. As a result, a user cannot be sure that their call to importAll actually inserted the data without manually checking that there are no duplicates already in the table. The insert should be performed via standard insert (preferred) or at the very least a warning should be issued if the import was not completed successfully.

jakereimer avatar Jun 19 '17 19:06 jakereimer

discussion: need to xcheck inserti w/r/t suppress_errors in python, adjust/revisit importAll

ixcat avatar Apr 28 '20 21:04 ixcat