blob: 0c0f62750c1cbc0ed997f9a0cbfe738af389c9db [file] [log] [blame]
jarodwencbbab142013-02-01 07:56:46 +00001/*
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
8drop dataverse test if exists;
9create dataverse test;
10
11write output to nc1:"mdtest/basic_meta13.adm";
12
13create function test.foo(){
14"drop this function"
15}
16
17drop function test.foo@0;
18
19count(
20for $l in dataset('Metadata.Function')
21where $l.DataverseName='test' and $l.Name='foo' and $l.Arity=0
22return $l);
23
24drop dataverse test;