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 1rptEe-009JFP-SO for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Mar 2024 17:08: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 1rptEe-000CUo-1k for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Mar 2024 17:08:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rptBW-0007Dw-Ag for pgsql-hackers@lists.postgresql.org; Thu, 28 Mar 2024 17:05:03 +0000 Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rptBS-0071oJ-CS for pgsql-hackers@postgresql.org; Thu, 28 Mar 2024 17:05:01 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 255C518000B3; Thu, 28 Mar 2024 13:04:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 28 Mar 2024 13:04:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711645494; x= 1711731894; bh=fF7Yf0WVbK+IcpkG57ty6Kee1LshQ3T/WK1KTBLPT9M=; b=g mxwo37/icw+Nbr/FXQQt/QRSu9IySVvU0iEqcxx/0ILxEG6XDbdXbPP1esj4CS8q kg8nf+SHj4QifgFaYV9d1ek4yIuCi9Vx+Y6VW6y3xEs8aivjibu3RElEPwrcCSS2 I9PW8Q6heF4+UIFS3TPRpNk8+UKvsEYMInAZXhABK889ZplJ774Jd1Te+Q2UszR1 UAsXDyiQ8zpOAIwnjM+h/WA6nvydqnDiyG1EZSIMyVtnVnNTXQZTl/+2uJyPNCub S12Ag4jwrQQDPeHRYAyH3JZby9fnoa9CTh3+HT0RbQ9x0PMHNoIccSQSVs8Y0bue bEOtWWuSNWizapiKrjzig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudduledgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Mar 2024 13:04:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1711645491; bh=peclh8jmddFFTTsY2SJtt/flS12ok8ICb4p5dfRm0aY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=H0Yk63PWw6bB0On5AX4EcoOQCSXbVSpNb9H6C7kscNXrPtCO3gr5Ld6lqG5bYO9f5 OeI5Jna02leZYjNXXrgR+EXzb4f6acWqYeeMWnQHl6E6T3Szjbpl9JbSpaaF9NsqEJ cFrfu2KhTIw1kkSWfToP2orvj0MFp57PARQEtR5Q8Bkd2vBzBSNPHoLa8hv1f+Ewed WNrnD0KS9X0J4K3vyqBj63IsBQFl/fNRaHCTK425NyF2I//4MUiXOwd/bE2YLbp/Vs PogUVrEnyDkWvzKVY83z0srNJz5CTx0hRHE+pLoZa7Dg3uV7pDvQd91yUQGs00ryrf pZkp/wlcXIN0w== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 9FF0C385; Thu, 28 Mar 2024 18:04:51 +0100 (CET) Date: Thu, 28 Mar 2024 18:04:51 +0100 From: Alvaro Herrera To: Amit Langote Cc: jian he , Tomas Vondra , Himanshu Upadhyaya , Erik Rijkers , Andres Freund , Andrew Dunstan , PostgreSQL-development Subject: Re: remaining sql/json patches Message-ID: <202403281704.5bhuo3fcvasp@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Mar-28, Amit Langote wrote: > Here's patch 1 for the time being that implements barebones > JSON_TABLE(), that is, without NESTED paths/columns and PLAN clause. > I've tried to shape the interfaces so that those features can be added > in future commits without significant rewrite of the code that > implements barebones JSON_TABLE() functionality. I'll know whether > that's really the case when I rebase the full patch over it. I think this barebones patch looks much closer to something that can be committed for pg17, given the current commitfest timeline. Maybe we should just slip NESTED and PLAN to pg18 to focus current efforts into getting the basic functionality in 17. When I looked at the JSON_TABLE patch last month, it appeared far too large to be reviewable in reasonable time. The fact that this split now exists gives me hope that we can get at least the first part of it. (A note that PLAN seems to correspond to separate features T824+T838, so leaving that one out would still let us claim T821 "Basic SQL/JSON query operators" ... however, the NESTED clause does not appear to be a separate SQL feature; in particular it does not appear to correspond to T827, though I may be reading the standard wrong. So if we don't have NESTED, apparently we could not claim to support T821.) -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "La fuerza no está en los medios físicos sino que reside en una voluntad indomable" (Gandhi)