Commit be8d806
feat(sql): Add guard statements for primary key validation in merge operations
- Replace 'or []' coalescing with explicit guard statements in merge methods
- Raise AirbyteInternalError when no primary keys available for merge operations
- Addresses @aaronsteers feedback on code clarity and error handling
- Ensures merge operations fail fast when primary keys are missing
Co-Authored-By: AJ Steers <[email protected]>1 parent 65e8e87 commit be8d806
File tree
1 file changed
+13
-5
lines changed1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
673 | 676 | | |
674 | 677 | | |
675 | 678 | | |
| |||
725 | 728 | | |
726 | 729 | | |
727 | 730 | | |
728 | | - | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
729 | 737 | | |
730 | 738 | | |
731 | 739 | | |
| |||
0 commit comments