From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id D77A66EC40; Fri, 13 Aug 2021 19:08:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D77A66EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1628870903; bh=p1yAa91WBzZmMxFbr1ARrbzZ9dDjBf+CS6RhImfXZss=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=y/iTK3syy0Kqb6OibC4Yi2W+bU8n6JjDTfne4AFwIY5R8msKVZdd6DbPg7DVf485H L42jDfsf1ZnMiB5o6Ey7HszwpX5IayE77btjcnQbVp5VaSUdtmcAnbwK31s07+wwrB Bf+n5v9INGIxh/GYNeL8fjN/kga+/sguOP9wxStY= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (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 579B36EC40 for ; Fri, 13 Aug 2021 19:08:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 579B36EC40 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mEZjI-00037y-H6; Fri, 13 Aug 2021 19:08:20 +0300 Date: Fri, 13 Aug 2021 19:08:19 +0300 To: imeevma@tarantool.org Cc: tarantool-patches@dev.tarantool.org Message-ID: <20210813160819.7j7zyk23we5sfpm5@esperanza> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD972FF4A7D76DB5E242D14FEF1BD8BF4AC182A05F53808504005E899777B478DAC213E96EFFEDF46AE9403978748E2C62D43E4B1C9938E932C X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE716FAD50E497B9C14EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063775FF68B4B43662428638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D86EFF09EC561EAC918C7C44EF6487529E117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18CB629EEF1311BF91D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B613439FA09F3DCB32089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A53902A6D73FB02AB88F62DE00E9EAA7007B9011EDF109A00AD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA750E14360347543F58410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3483E1FCD56FEA62E6A798C5B82ECFC98639FB36FB0E5B72C80A5646EAB7FB67CA57EBEAE3A2FA4A571D7E09C32AA3244C7E370D035702781ABC08C4DAA23733A4CE0B41342B755BCDFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj0dLV0c3jbkw55kAm8f2/Fw== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D87F378C5788AFDEE9043208D64CE2FAC274CEFED1673C562683ABF942079399BFB559BB5D741EB966A65DFF43FF7BE03240331F90058701C67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v1 0/7] Rework SCALAR and NUMBER types in SQL X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladimir Davydov via Tarantool-patches Reply-To: Vladimir Davydov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Fri, Aug 13, 2021 at 06:12:52AM +0300, imeevma@tarantool.org wrote: > This patch reworks SCALAR and NUMBER types. Afther these patches SCANAR and > NUMBER values will follow newly defined rules. However, only one SQL built-in > function is actually changed in this patch. All other functions that should be > changed will be reworked in issue #6105. > > https://github.com/tarantool/tarantool/issues/6221 > https://github.com/tarantool/tarantool/tree/imeevma/gh-6221-introduce-mem-type-number > > Mergen Imeev (7): > sql: remove enum field_type from struct Mem > sql: re-introduce NUMBER and SCALAR meta-types > sql: disallow implicit cast from NUMBER and SCALAR > sql: disallow arithmetic for NUMBER and SCALAR > sql: disallow bitwise for NUMBER and SCALAR > sql: disallow concatination for SCALAR > sql: fix comparison with SCALAR value LGTM