blob: a2d8ec5c972783c7e90b54b950549cb83ff6c7fd [file] [log] [blame]
/*
* Description : Create UDF and invoke it in limit clause
* Expected Res : Success
* Date : Sep 5th 2012
*/
drop dataverse test if exists;
create dataverse test;
write output to nc1:"rttest/user-defined-functions_udf23.adm";
create function test.numRows(){
6
}
for $l in dataset('Metadata.Dataset')
limit test.numRows()
return $l