Denis I.
10/21/2023, 1:58 PMvisch
10/24/2023, 8:23 PMDenis I.
10/25/2023, 8:58 AMCOPY
into tmp table and UPDATE
with all columns from schema.
So, I’ve experimented a bit and altered the UPDATE
statement with COALESCE
if new value of sdc_deleted_at IS NOT NULL
. It works fine, but doesn’t cover corner case with UPDATE
and DELETE
of the same row in one batch.Denis I.
10/25/2023, 3:43 PMlast_record_before_deletion.update(deletion_record)
) in the dict.visch
10/25/2023, 3:50 PM