blob: e3cde9f4cf4dac19efcdcffb8bc20b0ea2cba377 [file] [log] [blame]
/*
* Description : Create two UDFs in two different dataverses
* : Bind the results returned by each UDF to a variable and return those variables
* Expected Res : Success
* Date : 31st Aug 2012
*/
drop dataverse testdv1 if exists;
drop dataverse testdv2 if exists;
create dataverse testdv1;
create dataverse testdv2;
write output to nc1:"rttest/cross-dataverse_cross-dv12.adm";
create function testdv1.fun01(){
"function 01"
}
create function testdv2.fun02(){
"function 02"
}
let $a := testdv1.fun01()
let $b := testdv2.fun02()
return {"fun-01":$a,"fun-02":$b}