blob: 1c5ca125ba39958e47972372043a9053342d32eb [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/cross-dataverse_udf23.adm";
create function test.numRows(){
6
}
for $l in dataset('Metadata.Dataset')
limit test.numRows()
return $l