blob: b98d123ae3b0d8eba583b94c0d72de9312fb7e4f [file] [log] [blame]
/*
* Description : Create UDF and invoke it from another UDF and
* : child UDF returns a string to the parent.
* Expected Res : Success
* Date : Sep 5th 2012
*/
drop dataverse test if exists;
create dataverse test;
write output to nc1:"rttest/user-defined-functions_udf17.adm";
create function test.parent(){
test.child()
}
create function test.child() {
"This data is from the child function"
}
let $str := test.parent()
return $str