RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Description : Create functions and drop that function and query metadata |
| 3 | * : to verify entries in Function dataset for the dropped UDF. |
| 4 | * Expected Res : Success |
| 5 | * Date : Sep 17 2012 |
| 6 | */ |
| 7 | |
| 8 | // this test returns NPE today |
| 9 | |
| 10 | drop dataverse test if exists; |
| 11 | create dataverse test; |
| 12 | |
| 13 | write output to nc1:"rttest/meta13.adm"; |
| 14 | |
| 15 | create function test.foo(){ |
| 16 | "drop this function" |
| 17 | } |
| 18 | |
| 19 | drop function test.foo@0; |
| 20 | |
| 21 | for $l in dataset('Metadata.Function') |
| 22 | return $l; |
| 23 | |