blob: a2d8ec5c972783c7e90b54b950549cb83ff6c7fd [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF and invoke it in limit clause
3 * Expected Res : Success
4 * Date : Sep 5th 2012
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000010write output to nc1:"rttest/user-defined-functions_udf23.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000011
12create function test.numRows(){
136
14}
15
16for $l in dataset('Metadata.Dataset')
17limit test.numRows()
18return $l