From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 87AA442EF5C for ; Mon, 29 Jun 2020 15:56:31 +0300 (MSK) Date: Mon, 29 Jun 2020 12:56:30 +0000 From: Nikita Pettik Message-ID: <20200629125630.GA27240@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH v3 4/8] sql: replace ApplyType by CheckType for IN operator List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: imeevma@tarantool.org Cc: tarantool-patches@dev.tarantool.org On 25 Jun 18:17, imeevma@tarantool.org wrote: > index f7681640e..a2147b0e8 100755 > --- a/test/sql-tap/in3.test.lua > +++ b/test/sql-tap/in3.test.lua > @@ -1,6 +1,6 @@ > #!/usr/bin/env tarantool > test = require("sqltester") > -test:plan(29) > +test:plan(28) > > --!./tcltestrunner.lua > -- 2007 November 29 > @@ -322,18 +322,6 @@ test:do_test( > -- > }) > > -test:do_test( > - "in3-3.3", > - function() > - -- Logically, numeric affinity is applied to both sides before > - -- the comparison, but index can't be used. > - return exec_neph(" SELECT x IN (SELECT b FROM t1) FROM t2 ") > - end, { > - -- > - 1, true > - -- > - }) > - I'd rather not drop this test. It's about scalar-numeric types interaction. Mb it is not the most suitable place for such test, but make sure this scenario is covered somewhere else. The rest is OK as obvious.