[Tarantool-patches] [PATCH v1 0/8] Rework standard function

imeevma at tarantool.org imeevma at tarantool.org
Thu Nov 11 13:45:23 MSK 2021


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



More information about the Tarantool-patches mailing list