Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/8] Rework standard function
@ 2021-11-11 10:45 Mergen Imeev via Tarantool-patches
  2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 1/8] sql: refactor ABS() funcion Mergen Imeev via Tarantool-patches
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-11-11 10:45 UTC (permalink / raw)
  To: kyukhin; +Cc: tarantool-patches

This patch refactors all non-aggregate standard functions and makes these
functions work according to ANSI rules, if it is possible. However, the ANSI
specific syntax for these functions will be presented later.

https://github.com/tarantool/tarantool/issues/4145
https://github.com/tarantool/tarantool/tree/imeevma/gh-4145-rework-sql-built-in-funcs

Mergen Imeev (8):
  sql: refactor ABS() funcion
  sql: rework CHAR_LENGTH() function
  sql: refactor UPPER() and LOWER() functions
  sql: refactor NULLIF() function
  sql: rework TRIM() function
  sql: rework POSITION() function
  sql: rework SUBSTR() function
  sql: refactor LIKE() function

 src/box/sql/func.c             | 1143 +++++++++++++++-----------------
 test/sql-tap/badutf1.test.lua  |   81 +--
 test/sql-tap/func.test.lua     |   16 +-
 test/sql-tap/func2.test.lua    |  150 ++---
 test/sql-tap/func3.test.lua    |   10 +-
 test/sql-tap/position.test.lua |   80 ++-
 test/sql-tap/substr.test.lua   |  121 +++-
 7 files changed, 791 insertions(+), 810 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Tarantool-patches] [PATCH v1 0/8] Rework standard function
@ 2021-10-01 16:29 Mergen Imeev via Tarantool-patches
  2021-10-01 16:29 ` [Tarantool-patches] [PATCH v1 5/8] sql: rework TRIM() function Mergen Imeev via Tarantool-patches
  0 siblings, 1 reply; 14+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-10-01 16:29 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches

This patch refactors all non-aggregate standard functions and makes these
functions work according to ANSI rules, if it is possible. However, the ANSI
specific syntax for these functions will be presented later.

Mergen Imeev (8):
  sql: refactor ABS() funcion
  sql: refactor CHAR_LENGTH() function
  sql: refactor UPPER() and LOWER() functions
  sql: refactor NULLIF() function
  sql: rework TRIM() function
  sql: rework POSITION() function
  sql: rework SUBSTR() function
  sql: refactor LIKE() function

 src/box/sql/func.c             | 1137 +++++++++++++++-----------------
 test/sql-tap/badutf1.test.lua  |   41 +-
 test/sql-tap/func.test.lua     |   16 +-
 test/sql-tap/func2.test.lua    |  150 ++---
 test/sql-tap/position.test.lua |   80 ++-
 test/sql-tap/substr.test.lua   |  121 +++-
 6 files changed, 786 insertions(+), 759 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-11-11 11:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 10:45 [Tarantool-patches] [PATCH v1 0/8] Rework standard function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 1/8] sql: refactor ABS() funcion Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 2/8] sql: rework CHAR_LENGTH() function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 3/8] sql: refactor UPPER() and LOWER() functions Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 4/8] sql: refactor NULLIF() function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 5/8] sql: rework TRIM() function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 6/8] sql: rework POSITION() function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 7/8] sql: rework SUBSTR() function Mergen Imeev via Tarantool-patches
2021-11-11 10:45 ` [Tarantool-patches] [PATCH v1 8/8] sql: refactor LIKE() function Mergen Imeev via Tarantool-patches
2021-11-11 10:59 ` [Tarantool-patches] [PATCH v1 0/8] Rework standard function Kirill Yukhin via Tarantool-patches
  -- strict thread matches above, loose matches on Subject: below --
2021-10-01 16:29 Mergen Imeev via Tarantool-patches
2021-10-01 16:29 ` [Tarantool-patches] [PATCH v1 5/8] sql: rework TRIM() function Mergen Imeev via Tarantool-patches
2021-10-20 17:05   ` Mergen Imeev via Tarantool-patches
2021-10-28 22:12     ` Vladislav Shpilevoy via Tarantool-patches
2021-11-01 10:35       ` 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