Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 0/5] Prepare for static arguments type check
@ 2021-08-18 14:34 Mergen Imeev via Tarantool-patches
  2021-08-18 14:34 ` [Tarantool-patches] [PATCH v2 1/5] sql: modify arithmetic aggregate functions Mergen Imeev via Tarantool-patches
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-08-18 14:34 UTC (permalink / raw)
  To: vdavydov; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-21  0:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 14:34 [Tarantool-patches] [PATCH v2 0/5] Prepare for static arguments type check Mergen Imeev via Tarantool-patches
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

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