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 1qMdgY-002txr-Qq for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Jul 2023 00:07:54 +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 1qMdgW-004Xui-Vc for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Jul 2023 00:07:52 +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 1qMdgW-004XpY-M6 for pgsql-hackers@lists.postgresql.org; Fri, 21 Jul 2023 00:07:52 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qMdgT-000abe-In for pgsql-hackers@postgresql.org; Fri, 21 Jul 2023 00:07:51 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 27BE920002; Fri, 21 Jul 2023 00:07:44 +0000 (UTC) Message-ID: <69272b9d-1985-9902-0632-e29180c158ae@postgresfriends.org> Date: Fri, 21 Jul 2023 02:07:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Row pattern recognition To: Jacob Champion , Tatsuo Ishii Cc: pgsql-hackers@postgresql.org References: <90bff6fa-01b7-cf60-f4f4-3412514a7cd2@postgresfriends.org> <20230628.095819.1123345378945479712.t-ishii@sranhm.sra.co.jp> <07214b3a-5893-f6ce-ef55-0e5d24c94925@timescale.com> <20230720.141513.1986681389874528348.t-ishii@sranhm.sra.co.jp> <022a392f-2a9e-3df1-a509-a5bd51160fa5@timescale.com> From: Vik Fearing Content-Language: en-US In-Reply-To: <022a392f-2a9e-3df1-a509-a5bd51160fa5@timescale.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: vik@postgresfriends.org List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/21/23 01:36, Jacob Champion wrote: > There's also the issue of backtracking in the face of reclassification, > as I think Vik was alluding to upthread. We definitely need some kind of backtracking or other reclassification method. > (I've attached two failing tests against v2, to hopefully better > illustrate, along with what I_think_ should be the correct results.) Almost. You are matching 07-01-2023 but the condition is "price > 100". -- Vik Fearing