Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
7.1.0
-
None
-
7.1.0-1869
-
1
Description
create a udf with a basic console.log, as far as I can tell the logging statement is ignored, I am not quite sure where the output would go to, but it seems like this should be supported. Also I am not sure if this on the query or js-evaluator side, so assigning to js-evaluator to start
function add(a,b)
{ console.log("adding"); return(a+b); }CREATE FUNCTION udf(...) LANGUAGE JAVASCRIPT AS "add" AT "logger";
cbq> execute function udf(1,4);
{
"requestID": "4a023fdf-e6f5-49e8-bdda-c214971540e7",
"signature": null,
"results": [
5
],
"status": "success",
"metrics":
}
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-49998 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
167290,2 | MB-49996 - show parameters for user-defined functions | master | query-ui | Status: MERGED | +2 | +1 |