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 BABD96F3E5; Thu, 11 Nov 2021 14:01:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org BABD96F3E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1636628471; 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=n91kSjRDgXsB1fQOLyDy+rGqGVr6oKa81/CVU6qHlEtPIy8SOQ9E5uWIkkv74myL4 Sk0Nlfk4FNYlE4PVmHj1kd8UeI5WuGnA5KBOzPJXae/dk0Zz3YG+uYFjaA+jacXvZO Gp9FOtjT/MxB509BKpD/EUX6xI9HOrpgUQKgBbfI= 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 475697105E for ; Thu, 11 Nov 2021 13:53:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 475697105E Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1ml7i3-0007nI-G6; Thu, 11 Nov 2021 13:53:35 +0300 To: kyukhin@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Thu, 11 Nov 2021 13:53:35 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9731B3922EC06397911A6D4ED1A8575E7BD5B9E03AA43849A00894C459B0CD1B9E007E322F34538739D7912A5AD053FA96156B6F96FCCACDC599FBF3E6EA3F319 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F6EE1C40B2E8BE15EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063776672C316918EFDB8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D85CB2AA7E844805747D35CE18D509048E117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC8C7ADC89C2F0B2A5A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18F04B652EEC242312D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B66F6A3E018CF4DC80089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A213B5FB47DCBC3458834459D11680B50567CF990346936EDFB4A67E0A96F08BE4 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C7E9FEBB9C11794A12AD00FF1D5C9FEB4B97B10E51F20748D9C2B6934AE262D3EE7EAB7254005DCED1C8AEA1E975C27AC1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0395A35BF0C2A4EB88E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D342B8615F5CFAD9D02564CDC65B69666882E12937D2D1FD7710C0A016D65C524E7453E1A35487ECA261D7E09C32AA3244C5BCB4FDAAA5B9984BC5201E4E9F92C46CE0B41342B755BCD729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj4t8MBgWr8bLv1ynXtFZYsg== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DFD270EFA4D02AE85F72B1FE9D48ACC0183D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B 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