Re: dummy relation in partitionwise join

2021-10-28 Thread Zhihong Yu
On Thu, Oct 28, 2021 at 2:19 PM David Rowley wrote: > On Fri, 29 Oct 2021 at 04:43, Zhihong Yu wrote: > > I noticed that the dummy relation is skipped in the loop over > rel->live_parts. > > I wonder if the following change is sensible. > > I made the definition of live_parts to be partitions th

Re: dummy relation in partitionwise join

2021-10-28 Thread David Rowley
On Fri, 29 Oct 2021 at 04:43, Zhihong Yu wrote: > I noticed that the dummy relation is skipped in the loop over rel->live_parts. > I wonder if the following change is sensible. I made the definition of live_parts to be partitions that survived partition pruning. There's a few reasons why a RELOP