Tarantool development patches archive
 help / color / mirror / Atom feed
From: Mergen Imeev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: v.shpilevoy@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 0/2] Introduce field type MAP to SQL
Date: Thu, 11 Nov 2021 14:37:39 +0300	[thread overview]
Message-ID: <cover.1636630534.git.imeevma@gmail.com> (raw)

This patch introduces field type MAP to SQL. Also, it adds function MAP() that
is used to create values of type ARRAY.

https://github.com/tarantool/tarantool/issues/4763
https://github.com/tarantool/tarantool/tree/imeevma/gh-4763-introduce-map

Mergen Imeev (2):
  sql: introduce field type MAP
  sql: introduce MAP() function

 .../gh-4763-introduce-map-to-sql.md           |    4 +
 extra/mkkeywordhash.c                         |    1 +
 src/box/sql/func.c                            |   30 +-
 src/box/sql/mem.c                             |   76 +-
 src/box/sql/mem.h                             |   21 +
 src/box/sql/parse.y                           |    3 +-
 test/box/function1.result                     |    5 -
 test/box/function1.test.lua                   |    1 -
 test/sql-tap/map.test.lua                     | 1106 +++++++++++++++++
 9 files changed, 1233 insertions(+), 14 deletions(-)
 create mode 100644 changelogs/unreleased/gh-4763-introduce-map-to-sql.md
 create mode 100755 test/sql-tap/map.test.lua

-- 
2.25.1


             reply	other threads:[~2021-11-11 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 11:37 Mergen Imeev via Tarantool-patches [this message]
2021-11-11 11:37 ` [Tarantool-patches] [PATCH v1 1/2] sql: introduce field type MAP Mergen Imeev via Tarantool-patches
2021-11-14 16:24   ` Vladislav Shpilevoy via Tarantool-patches
2021-11-15 16:45     ` Mergen Imeev via Tarantool-patches
2021-11-11 11:37 ` [Tarantool-patches] [PATCH v1 2/2] sql: introduce MAP() function Mergen Imeev via Tarantool-patches
2021-11-14 16:24   ` Vladislav Shpilevoy via Tarantool-patches
2021-11-15 16:46     ` Mergen Imeev via Tarantool-patches
2021-11-18 21:21 ` [Tarantool-patches] [PATCH v1 0/2] Introduce field type MAP to SQL Vladislav Shpilevoy via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1636630534.git.imeevma@gmail.com \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 0/2] Introduce field type MAP to SQL' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox