Re: Re: parallel distinct union and aggregate support patch

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: "bucoo(at)sohu(dot)com" <bucoo(at)sohu(dot)com>
Cc: David Steele <david(at)pgmasters(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, tgl <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, hlinnaka <hlinnaka(at)iki(dot)fi>, robertmhaas <robertmhaas(at)gmail(dot)com>, pgsql <pgsql(at)j-davis(dot)com>
Subject: Re: Re: parallel distinct union and aggregate support patch
Date: 2021-07-06 02:48:47
Message-ID: CAApHDvrAhJ3sEo3KW9ZESM-YkCn0A+qRwcne_+A2ObGQGKf2rQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 30 Mar 2021 at 22:33, bucoo(at)sohu(dot)com <bucoo(at)sohu(dot)com> wrote:
> I have written a plan with similar functions, It is known that the following two situations do not work well.

I read through this thread and also wondered about a Parallel
Partition type operator. It also seems to me that if it could be done
this way then you could just plug in existing nodes to get Sorting and
Aggregation rather than having to modify existing nodes to get them to
do what you need.

From what I've seen looking over the thread, a few people suggested
this and I didn't see anywhere where you responded to them about the
idea. Just so you're aware, contributing to PostgreSQL is not a case
of throwing code at a wall and seeing which parts stick. You need to
interact and respond to people reviewing your work. This is especially
true for the people who actually have the authority to merge any of
your work with the main code repo.

It seems to me you might be getting off to a bad start and you might
not be aware of this process. So I hope this email will help put you
on track.

Some of the people that you've not properly responded to include:

Thomas Munro: PostgreSQL committer. Wrote Parallel Hash Join.
Robert Hass: PostgreSQL committer. Wrote much of the original parallel
query code
Heikki Linnakangas: PostgreSQL committer. Worked on many parts of the
planner and executor. Also works for the company that develops
Greenplum, a massively parallel processing RDBMS, based on Postgres.

You might find other information in [1].

If I wanted to do what you want to do, I think those 3 people might be
some of the last people I'd pick to ignore questions from! :-)

Also, I'd say also copying in Tom Lane randomly when he's not shown
any interest in the patch here is likely not a good way of making
forward progress. You might find that it might bubble up on his radar
if you start constructively interacting with the people who have
questioned your design. I'd say that should be your next step.

The probability of anyone merging any of your code without properly
discussing the design with the appropriate people are either very
close to zero or actually zero.

I hope this email helps you get on track.

David

[1] https://www.postgresql.org/community/contributors/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-07-06 03:21:20 Re: Detecting File Damage & Inconsistencies
Previous Message Michael Paquier 2021-07-06 02:17:47 Re: ECPG doesn't compile CREATE AS EXECUTE properly.