I found out there is possible to do upserts on pos...
# troubleshooting
a
I found out there is possible to do upserts on postgresql in case there is dublicates, maybe somebody has actual example? https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/connectors/table/jdbc/
a
@Adas Kavaliauskas to your sink statement
Copy code
INSERT INTO table (id, column1, column2, column3)
VALUES (?, ?, ?, ?)
ON CONFLICT(id)
DO UPDATE SET
    column1 = EXCLUDED.column1,
    column2 = EXCLUDED.column2,
    column3 = EXCLUDED.column3;
The conflict column needs to be primary key or have an unique index