You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/MeltanoLabs/target-postgres/blob/d07b41583e8ff77ee770a0d40779ea9485772461/target_postgres/sinks.py#L161-L169
Currently the code above uses string concatenation to check for
duplicate primary key values, however this is problematic since the
records below will be treated as the same record and the first will be
omitted:
Record 1:
- Primary Key 1: AB
- Primary Key 2: C
Record 2:
- Primary Key 1: A
- Primary Key 2: BC
Changing to a tuple should mitigate this.
Co-authored-by: Edgar Ramírez Mondragón <16805946+edgarrmondragon@users.noreply.github.com>
0 commit comments