Re: [HACKERS] advanced partition matching algorithm for partition-wise join
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>,
Robert Haas <robertmhaas@gmail.com>, Antonin Houska <ah@cybertec.at>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-06-26T09:02:21Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Suppress unused-variable warning.
- 401418ca6a68 13.0 landed
-
Allow partitionwise joins in more cases.
- c8434d64ce03 13.0 landed
-
Avoid crash in partitionwise join planning under GEQO.
- 7ad6498fd5a6 12.0 cited
- d70c147fa217 11.3 cited
-
Disable support for partitionwise joins in problematic cases.
- 7cfdc77023ad 12.0 cited
-
Add plan_cache_mode setting
- f7cb2842bf47 12.0 cited
-
Add test for partitionwise join involving default partition.
- 4513d3a4be0b 12.0 cited
-
Revise API for partition_rbound_cmp/partition_rbound_datum_cmp.
- b0229235564f 11.0 landed
On Tue, Jun 26, 2018 at 2:27 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote: > Hi Ashutosh, > > On 2018/05/14 20:14, Ashutosh Bapat wrote: >> 0001-Hash-partition-bound-equality-refactoring.patch >> 0002-Targetlist-of-a-child-join-is-produced-by-translatin.patch >> 0003-Partition-wise-join-for-1-1-1-0-0-1-partition-matchi.patch >> 0004-Add-a-debug-message-to-notify-whether-partition-wise.patch >> 0005-Tests-for-0-1-1-1-and-1-0-partition-matching.patch >> 0006-Extra-extensive-tests-for-advanced-partition-matchin.patch > > I noticed after *cleanly* applying 0001-0004 to today's HEAD that while > 0005's test all pass, there are many failures in 0006's tests. Maybe, you > need to adjust something in one of the patches or adjust test outputs. If the failures are because of plan changes, it's expected. If those are because of crashes or changed output, those need to be fixed. I have kept that patch to notice any crashes or output changes, in which case, I pull that test into 0005 test set after fixing the code. Once we are near commit, I will remove that patch from the patchset. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company