Commit bab73a4
bugfix - PR #180 - *Snowflake > Spark* Ensure matched inserts sync to snowflake
Ensure a new INSERT is synchronized to Snowflake, even when a match is already found.
## Motivation and Context
When a delta table is VACUUMed before a sync to Snowflake was triggered, a updated record will be considered as an "INSERT" record. However the target table might already contain this record. This PR ensures that this record is still updated as would be desired.
## How Has This Been Tested?
This was a bug in our code. This code currently lives in our repo and fixed the issue.
---------
Co-authored-by: Bruno De Deken <bruno.dedeken@nike.com>1 parent b5168e1 commit bab73a4
File tree
2 files changed
+3
-3
lines changed- src/koheesio/integrations/spark
- tests/spark/integrations/snowflake
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
970 | 970 | | |
971 | 971 | | |
972 | 972 | | |
973 | | - | |
| 973 | + | |
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
0 commit comments