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

Mergen Imeev imeevma at tarantool.org
Mon Oct 4 16:32:38 MSK 2021


Hi! I'm sorry, I forgot to add links to the issue and the branch. Here they are:

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

On Fri, Oct 01, 2021 at 07:29:23PM +0300, Mergen Imeev via Tarantool-patches wrote:
> 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
> 


More information about the Tarantool-patches mailing list