| /* |
| * Description : Create UDFs in different dataverses |
| * : Test for recursion in those UDFs |
| * Expected Res : Failure - Recursion is not allowed! |
| * Date : 31st Aug 2012 |
| * Ignored : This test is currently not part of the test build, because it being a negative test case expectedly throws an exception. |
| */ |
| |
| drop dataverse testdv1 if exists; |
| drop dataverse testdv2 if exists; |
| create dataverse testdv1; |
| create dataverse testdv2; |
| |
| write output to nc1:"rttest/cross-dataverse_cross-dv13.adm"; |
| |
| create function testdv1.fun01(){ |
| testdv2.fun02() |
| } |
| |
| create function testdv2.fun02(){ |
| testdv2.fun03() |
| } |
| |
| create function testdv2.fun03(){ |
| testdv1.fun01() |
| } |
| |
| testdv1.fun01(); |