blob: 35718b16a0bfaff19a464c336ec969a3162d6618 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Pass an ordered list as input to UDF
3 * : and return that ordered list.
4 * Expected Res : Success
5 * Date : 4th September 2012
6 */
7
8drop dataverse test if exists;
9create dataverse test;
10
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000011write output to nc1:"rttest/user-defined-functions_udf01.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000012
13create function test.echo($list){
14$list
15}
16
17for $a in [1,2,3,4,5,6,7,8,9,10]
18return test.echo($a)