blob: e3cde9f4cf4dac19efcdcffb8bc20b0ea2cba377 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create two UDFs in two different dataverses
3 * : Bind the results returned by each UDF to a variable and return those variables
4 * Expected Res : Success
5 * Date : 31st Aug 2012
6 */
7
8drop dataverse testdv1 if exists;
9drop dataverse testdv2 if exists;
10create dataverse testdv1;
11create dataverse testdv2;
12
13write output to nc1:"rttest/cross-dataverse_cross-dv12.adm";
14
15create function testdv1.fun01(){
16"function 01"
17}
18
19create function testdv2.fun02(){
20"function 02"
21}
22
23let $a := testdv1.fun01()
24let $b := testdv2.fun02()
25return {"fun-01":$a,"fun-02":$b}