Skip to content
Snippets Groups Projects
Commit 439a48f2 authored by Kirill Shcherbatov's avatar Kirill Shcherbatov Committed by Nikita Pettik
Browse files

sql: check returned value type for UDF

All user-defined functions feature type of returned value (if it
is not specified during function creation, it is assumed to be
ANY), but currently it is ignored. This patch introduces check
which verifies that returned value is of specified in function's
definition type. There's no attempt at implicit conversion to
specified (target) type - returned value must be literally of
the specified type.

Closes #4387
parent 0a6daf7a
No related branches found
No related tags found
No related merge requests found
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