RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Description : Create user defined funs. in two different dataverses |
| 3 | * : and invoke one of them. |
| 4 | * : In this test we use fully qualified names to access and create the UDFs. |
| 5 | * Expected Res : Success |
| 6 | * Date : 31st Aug 2012 |
| 7 | */ |
| 8 | |
| 9 | drop dataverse testdv1 if exists; |
| 10 | drop dataverse testdv2 if exists; |
| 11 | create dataverse testdv1; |
| 12 | create dataverse testdv2; |
| 13 | |
| 14 | write output to nc1:"rttest/cross-dataverse_cross-dv09.adm"; |
| 15 | |
| 16 | create function testdv1.fun01(){ |
| 17 | "function 01" |
| 18 | } |
| 19 | |
| 20 | create function testdv2.fun02(){ |
| 21 | "function 02" |
| 22 | } |
| 23 | |
| 24 | testdv1.fun01() |