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 D9DE46ECE3; Wed, 3 Nov 2021 16:53:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D9DE46ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1635947613; bh=gzz8TCa56LPfAs6mI5kU09fgXTbuRruygD4LT7X6duc=; 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=Pbu02Gh+akNVnstwEeRD1p5AFY0ydm6YfDTlFr5MYVlg5lR67rBk59l1uGCjrS3YY xJkbfDKS2M4OHtW2wZnSc3wOaxRxdWXpdnyljm6muhzZ0cly/9LPOxi7hxUDrzywak WQwkBy+N5v8OEyPtHKe2sFytafL7oqOsV52Ekb9k= Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DC08F6ECE3 for ; Wed, 3 Nov 2021 16:53:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DC08F6ECE3 Received: by mail-lf1-f42.google.com with SMTP id bi35so5292593lfb.9 for ; Wed, 03 Nov 2021 06:53:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=ffbXX/kIns8soWKyPLirB5efAxX8FrHK56FsGAkgLXo=; b=DYlSTDsdBrLDMwT0R+wH2X0ovFJgFldYyao6xLMVWH0fkIw1rMr+ei+0CndWYww6Vz 4kgEI2NpGjejzt32dcRmGiZb6sN8U1vn1fQFvQ8CcYt5DOPvL/WbhDof5GObr724P0mh RFj8cyAhCme3UyBIV462u3gEtqNMvz0pdiOy3/8q1kdVo7XvOTElxWVEL/aU5STRd1lC kULNpmxpUiUuuVgIo0FlezQhefMzfvNtIes5Q4oP0yFWk/2DZ+LJhpyok4iyGjN0f6WL TVDKKv8B2JeMZk9mg07vfU5GoMVAE2/ICuvUXc4nF/+Wz9GbfHd9BIw1kNUdBsSSkqL8 5KzQ== X-Gm-Message-State: AOAM531Q0koXABdgd7AzKXeT5kWuLozZikregtmNWpHoRPKpLy/siwIH GsjQb25T7pfdbgaOK111ZKOJpgbGCQ== X-Google-Smtp-Source: ABdhPJyifQlFTRjvoSISTPjBDqVZ4XAy19n86iKW5f/tRGEzAhUrOqqNVz5P/tcfCSLZcBOnZWgCXA== X-Received: by 2002:a19:7902:: with SMTP id u2mr19990163lfc.644.1635947610851; Wed, 03 Nov 2021 06:53:30 -0700 (PDT) Received: from sterling.local ([46.188.68.12]) by smtp.gmail.com with ESMTPSA id bt20sm186577lfb.47.2021.11.03.06.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 06:53:28 -0700 (PDT) Received: by sterling.local (Postfix, from userid 1000) id 86BB5E63C90; Wed, 3 Nov 2021 16:53:27 +0300 (MSK) Date: Wed, 3 Nov 2021 16:53:27 +0300 To: imeevma@tarantool.org Cc: v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org Message-ID: <20211103135327.GB396206@starling> Mail-Followup-To: Konstantin Osipov , imeevma@tarantool.org, v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org References: <8a954f84706769e4d685cedac987c2de8eb947cc.1635927295.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a954f84706769e4d685cedac987c2de8eb947cc.1635927295.git.imeevma@gmail.com> Subject: Re: [Tarantool-patches] [PATCH v1 1/2] sql: introduce field type ARRAY 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: Konstantin Osipov via Tarantool-patches Reply-To: Konstantin Osipov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" * Mergen Imeev via Tarantool-patches [21/11/03 11:22]: > This patch introduces ARRAY to SQL. After this patch, all SQL operations > and built-in functions should work correctly with ARRAY values. However, > there is currently no way to create ARRAY values using only SQL tools. The entire industry is using [] for array subscript and {} for map subscript. Why did you have to invent () for it? > + SELECT a1(1) == CAST(1 AS SCALAR); -- Konstantin Osipov, Moscow, Russia