Skip to content
Snippets Groups Projects
Commit a46b5200 authored by Kirill Shcherbatov's avatar Kirill Shcherbatov Committed by Georgy Kirichenko
Browse files

sql: GREATEST, LEAST instead of MIN/MAX overload

This patch does two things: renames existing scalar min/max
functions and reserves names for them in NoSQL cache.

Moreover it is an important step to get rid of function's name
overloading required for replace FuncDef cache with Tarantool's
function cache.

Closes #4405
Needed for #2200, #4113, #2233

@TarantoolBot document
Title: Scalar functions MIN/MAX are renamed to LEAST/GREATEST

The MIN/MAX functions are typically used only as aggregate
functions in other RDBMS(MSSQL, Postgress, MySQL, Oracle) while
Tarantool's SQLite legacy code use them also in meaning
GREATEST/LEAST scalar function. Now it fixed.
parent 79f3bf4b
No related branches found
No related tags found
No related merge requests found
Showing
with 150 additions and 112 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment