Commit e69109d
authored
[python] Add file_source assertion in row-tracking commit to fail fast on missing file_source (#7610)
if file_source is None, the condition `None == 0` silently evaluates to
False, skipping row ID assignment. This causes nextRowId not to
increment, leading to first_row_id conflicts. So this PR add file_source
check like java.1 parent f6cb6c8 commit e69109d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
700 | 703 | | |
701 | 704 | | |
702 | 705 | | |
| |||
0 commit comments