On Sat, Jan 21, 2023 at 3:05 AM Dean Rasheed <dean.a.rash...@gmail.com>
wrote:

> On Tue, 10 Jan 2023 at 14:43, Dean Rasheed <dean.a.rash...@gmail.com>
> wrote:
> >
> > Rebased version attached.
> >
>
> Rebased version, following 8eba3e3f02 and 5d29d525ff.
>
> Regards,
> Dean
>
Hi,
In transform_MERGE_to_join :

+                       if (action->matchKind ==
MERGE_WHEN_NOT_MATCHED_BY_SOURCE)
+                               tgt_only_tuples = true;
+                       if (action->matchKind ==
MERGE_WHEN_NOT_MATCHED_BY_TARGET)

There should be an `else` in front of the second `if`.
When tgt_only_tuples and src_only_tuples are both true, we can come out of
the loop.

Cheers

Reply via email to