You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing DESC FUNCTION <uda name> or DESC AGGREGATE <udf name> crashes Scylla instead of returning invalid request with message "no such udf/uda found".
The text was updated successfully, but these errors were encountered:
…g to UDF/UDA' from Michał Jadwiszczak
There was a bug in describe_statement. If executing `DESC FUNCTION <uda name>` or ` DESC AGGREGATE <udf name>`, Scylla was crashing because the function was found (`functions::find()` searches both UDFs and UDAs) but the function was bad and the pointer wasn't checked after cast.
Added a test for this.
Fixes: #14360Closes#14332
* github.com:scylladb/scylladb:
cql-pytest:test_describe: add test for filtering UDF and UDA
cql3:statements:describe_statement: check pointer to UDF/UDA
While looking for specific UDF/UDA, result of
`functions::functions::find()` needs to be filtered out based on
function's type.
Fixes: #14360
(cherry picked from commit d498451)
Executing
DESC FUNCTION <uda name>
orDESC AGGREGATE <udf name>
crashes Scylla instead of returning invalid request with message "no such udf/uda found".The text was updated successfully, but these errors were encountered: