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 F2BA6711BD; Thu, 28 Oct 2021 13:52:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F2BA6711BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1635418351; bh=psDrICalReUWpcfXmbLYyVVKxHIB0m0t/FS0R4NiDsA=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=bsrpNRxSfOimjU9fC7ekFhwAX35Wu74+tO2UAp/LsCrJrw/7JSade7gMV0PsgLHkH wpC0ovr0ApNGPdLF6B3QTO9Laxi4QveGJkhbNawb0LtDP35Gg8YTdzDCLuKp+k8ER9 PsfUntGJ1T5/jqFa2HJaowITh37LFVcLZUgwcbs0= 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 E19B770353 for ; Thu, 28 Oct 2021 13:52:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E19B770353 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mg31I-00043m-33; Thu, 28 Oct 2021 13:52:28 +0300 To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Thu, 28 Oct 2021 13:52:27 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9E6B4260954843F6F0BB9A56E86E39CD3646880938562C6D500894C459B0CD1B9C413A0D80D10F90BE13E4AFF641F7C2D907A1929F371C46D0A44A602C5B4A8CD X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F6EE1C40B2E8BE15EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063776672C316918EFDB8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F6CE3B5CBDC1937CB9D27DA8B45E2CF1117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC8C7ADC89C2F0B2A5A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD1828451B159A507268D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B62CFFCC7B69C47339089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CA496FB89EAD9B8BE03B6E79880A212761BC1EE4900B51C349C2B6934AE262D3EE7EAB7254005DCED1C8AEA1E975C27AC1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B068F972559010CA1C8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D342B8615F5CFAD9D02564CDC65B69666882E12937D2D1FD7710C0A016D65C524E7453E1A35487ECA261D7E09C32AA3244C17F1F8D63C298BC5CC8F9EB2F626E6766C24832127668422729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojdMRfVmNkPDikE3P4peFNMA== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D3D73CEA3BAB0C35128F0AB809269012783D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1 0/3] Introduce field type ANY to 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: Mergen Imeev via Tarantool-patches Reply-To: imeevma@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This patch-set introduces field type ANY to SQL. https://github.com/tarantool/tarantool/issues/3174 https://github.com/tarantool/tarantool/tree/imeevma/gh-3174-introduce-field-type-any Mergen Imeev (3): sql: properly set INTEGER type in struct Expr sql: use field_type_MAX instead of FIELD_TYPE_ANY sql: introduce field type ANY extra/mkkeywordhash.c | 3 +- src/box/sql/expr.c | 2 + src/box/sql/func.c | 24 +- src/box/sql/mem.c | 51 ++- src/box/sql/mem.h | 4 +- src/box/sql/parse.y | 3 +- src/box/sql/resolve.c | 1 + src/box/sql/select.c | 1 + src/box/sql/vdbe.c | 4 +- test/sql-tap/metatypes.test.lua | 568 ++++++++++++++++++++++++++++++-- 10 files changed, 609 insertions(+), 52 deletions(-) -- 2.25.1