RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Description : Create AQL bodied UDFs and verify that there are related entries in metadata Function dataset |
| 3 | * Expected Res : Success |
| 4 | * Date : Sep 17 2012 |
| 5 | */ |
| 6 | |
| 7 | drop dataverse testdv if exists; |
| 8 | create dataverse testdv; |
| 9 | |
RamanGrover29@gmail.com | 146d463 | 2012-11-26 08:14:29 +0000 | [diff] [blame] | 10 | write output to nc1:"mdtest/basic_meta06.adm"; |
RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 11 | |
| 12 | create function testdv.fun01(){ |
| 13 | "This is an AQL Bodied UDF" |
| 14 | } |
| 15 | |
| 16 | for $l in dataset('Metadata.Function') |
| 17 | return $l |
| 18 | |
RamanGrover29@gmail.com | 146d463 | 2012-11-26 08:14:29 +0000 | [diff] [blame] | 19 | drop dataverse testdv; |