Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnQTN-00DDQa-4s for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 22:01:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rnQTK-00GJi5-OA for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 22:01:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnQTK-00GJhw-Dd for pgsql-hackers@lists.postgresql.org; Thu, 21 Mar 2024 22:01:14 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnQTC-005k0t-OB for pgsql-hackers@postgresql.org; Thu, 21 Mar 2024 22:01:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=0oCCAkNXsZjS5aoSljFeqcT2OrYwYBnyNPxBqqJMYWM=; b=aK/+y ruWxO4rzi1fhg4qx4Ck7VQW0pFzaHJEMDOQ2wxRxy639++MSqeW4hwLYGFYlOpgc4o1rz+8JpPNHQ BV5jInUhAGtVN0irrP0A0hQL6P7gi3esXtIJ4v79Btbo3v4UzjTTOGWduc/KO6Gz0ti2FD6F7+ZNM j8t5N+0ndDo8PvXhx244Ay4q3G/D1aT9++zfEzRjDhX946PnUZQrc5gzvfiUr26QIJyOXlodKyD3n 8mGzWTMTsbhiDh4mzLG16/Oqx0YG8uyMDJ5WjwUA6zFObQIjG4Pxrg58yxONlwFfutLv/ySh1vtyP bH+YD9LzU0YDvBZH31IOBfvIODYNA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rnQT6-003pm3-0A; Thu, 21 Mar 2024 18:01:00 -0400 Date: Thu, 21 Mar 2024 18:01:00 -0400 From: Bruce Momjian To: "Fujii.Yuki@df.MitsubishiElectric.co.jp" Cc: Tom Lane , Robert Haas , PostgreSQL-development , Alexander Pyhalov , Stephen Frost , "Finnerty, Jim" , Andres Freund , Tomas Vondra , Julien Rouhaud , Daniel Gustafsson , vignesh C Subject: Re: Partial aggregates pushdown Message-ID: References: <4020145.1710883747@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Mar 21, 2024 at 11:37:50AM +0000, Fujii.Yuki@df.MitsubishiElectric.co.jp wrote: > Hi. Mr.Momjian, Mr.Lane, Mr.Haas, hackers. > > I apologize for any misunderstanding regarding the context of the attached patch and > the points on which I requested a review. Could you please allow me to clarify? > > In the review around early December 2023, I received the following three issues pointed out by Mr.Haas[1]. > 1. Transmitting state value safely between machines > 2. Making the patch clearer by adding SQL keywords > 3. Fixing the behavior when the HAVING clause is present > > In the email sent on February 22, 2024[2], I provided an update on the progress made in addressing these issues. > Regarding issue 1, I have only provided a proposed solution in the email and have not started the programming. > Therefore, the latest patch is not in a commit-ready state. As mentioned later, we have also temporarily reverted the changes made to the documentation. > Before proceeding with the programming, I would like to discuss the proposed solution with the community and seek consensus. > If it is necessary to have source code in order to discuss, I can create a simple prototype so that I can receive your feedback. > Would you be able to provide your opinions on it? > > Regarding issue 2., I have confirmed that creating a prototype allows us to address the issue and clear the patch. > In this prototype creation, the main purpose was to verify if the patch can be cleared and significant revisions were made to the previous version. > Therefore, I have removed all the document differences. > I have submitted a patch [3] that includes the fixes for issue 3. to the patch that was posted in [2]. > Regarding the proposed solution for issue 1, unlike the patch posted in [3], > we have a policy of not performing partial aggregation pushdown if we cannot guarantee compatibility and safety. > The latest patch in [3] is a POC patch. The patch that Mr. Momjian reviewed is this. > If user-facing documentation is needed for this POC patch, it can be added. > > I apologize for the lack of explanation regarding this positioning, which may have caused misunderstandings regarding the patch posted in [3]. That makes sense. Let's get you answers to those questions first before you continue. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.