From: Mergen Imeev via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: vdavydov@tarantool.org Cc: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH v2 0/5] Prepare for static arguments type check Date: Wed, 18 Aug 2021 17:34:51 +0300 [thread overview] Message-ID: <cover.1629297142.git.imeevma@gmail.com> (raw) This is a preparatory patch-set for adding static and dynamic type checking to SQL built-in function arguments. Mergen Imeev (5): sql: modify arithmetic aggregate functions sql: introduce SQL built-in functions to parser sql: separate functions in parser sql: separate function flags from functions sql: encapsulate SQL built-in functions opcodes extra/addopcodes.sh | 1 + extra/mkkeywordhash.c | 37 +- src/box/sql/expr.c | 158 +++++-- src/box/sql/func.c | 271 ++++++++---- src/box/sql/parse.y | 515 ++++++++++++++++++++++- src/box/sql/resolve.c | 57 +-- src/box/sql/select.c | 18 +- src/box/sql/sqlInt.h | 35 +- src/box/sql/treeview.c | 1 + src/box/sql/vdbemem.c | 2 +- test/box/tx_man.result | 4 +- test/box/tx_man.test.lua | 4 +- test/sql-tap/autoindex5.test.lua | 2 +- test/sql-tap/built-in-functions.test.lua | 109 +++++ test/sql-tap/default.test.lua | 2 +- test/sql-tap/e_select1.test.lua | 2 +- test/sql-tap/func.test.lua | 92 +--- test/sql-tap/func2.test.lua | 18 +- test/sql-tap/func5.test.lua | 6 +- test/sql-tap/identifier_case.test.lua | 9 +- test/sql-tap/keyword1.test.lua | 41 +- test/sql-tap/minmax4.test.lua | 2 +- test/sql-tap/misc5.test.lua | 4 +- test/sql-tap/null.test.lua | 2 +- test/sql-tap/select1.test.lua | 16 +- test/sql-tap/select3.test.lua | 16 +- test/sql-tap/select5.test.lua | 2 +- test/sql-tap/select6.test.lua | 37 +- test/sql-tap/select8.test.lua | 8 +- test/sql-tap/selectG.test.lua | 2 +- test/sql-tap/sql-errors.test.lua | 8 +- test/sql-tap/subquery.test.lua | 8 +- test/sql-tap/tkt1449.test.lua | 2 +- test/sql-tap/uuid.test.lua | 8 +- test/sql-tap/where3.test.lua | 8 +- test/sql/boolean.result | 6 +- test/sql/collation.result | 6 +- test/sql/collation.test.lua | 4 +- test/sql/message-func-indexes.result | 6 +- test/sql/message-func-indexes.test.lua | 6 +- test/sql/types.result | 8 +- 41 files changed, 1181 insertions(+), 362 deletions(-) create mode 100755 test/sql-tap/built-in-functions.test.lua -- 2.25.1
next reply other threads:[~2021-08-18 14:34 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-18 14:34 Mergen Imeev via Tarantool-patches [this message] 2021-08-18 14:34 ` [Tarantool-patches] [PATCH v2 1/5] sql: modify arithmetic aggregate functions Mergen Imeev via Tarantool-patches 2021-08-18 14:34 ` [Tarantool-patches] [PATCH v2 2/5] sql: introduce SQL built-in functions to parser Mergen Imeev via Tarantool-patches 2021-08-19 8:35 ` Vladimir Davydov via Tarantool-patches 2021-08-21 0:27 ` Safin Timur via Tarantool-patches 2021-08-18 14:35 ` [Tarantool-patches] [PATCH v2 3/5] sql: separate functions in parser Mergen Imeev via Tarantool-patches 2021-08-18 14:35 ` [Tarantool-patches] [PATCH v2 4/5] sql: separate function flags from functions Mergen Imeev via Tarantool-patches 2021-08-18 14:35 ` [Tarantool-patches] [PATCH v2 5/5] sql: encapsulate SQL built-in functions opcodes Mergen Imeev 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.1629297142.git.imeevma@gmail.com \ --to=tarantool-patches@dev.tarantool.org \ --cc=imeevma@tarantool.org \ --cc=vdavydov@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 0/5] Prepare for static arguments type check' \ /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