/* | |
* Description : Create two UDFs in two different dataverses | |
* : Invoke one UDF from the body of the other UDF. | |
* 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-dv11.adm"; | |
create function testdv1.fun01(){ | |
testdv2.fun02() | |
} | |
create function testdv2.fun02(){ | |
"function 02" | |
} | |
testdv1.fun01() |