sql: change rules used to determine NULLIF() type
This patch introduces new rules to determine type of NULLIF() built-in function. Closes #6990 @TarantoolBot document Title: New rules to determine type of result of NULLIF The type of the result of NULLIF() function now matches the type of the first argument.
Showing
- changelogs/unreleased/gh-6989-type-of-NULLIF.md 4 additions, 0 deletionschangelogs/unreleased/gh-6989-type-of-NULLIF.md
- src/box/sql/func.c 26 additions, 1 deletionsrc/box/sql/func.c
- test/sql-luatest/gh_6989_nullif_result_type_test.lua 36 additions, 0 deletionstest/sql-luatest/gh_6989_nullif_result_type_test.lua
- test/sql-tap/array.test.lua 1 addition, 2 deletionstest/sql-tap/array.test.lua
- test/sql-tap/map.test.lua 1 addition, 2 deletionstest/sql-tap/map.test.lua
Loading