blob: c479b1bfd6e01b16cca44ffcfd6ac22db534b157 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Pass an ordered list as input to UDF and return the zeroth element of that list.
3 * Expected Res : Success
4 * Date : 4th September 2012
5 * Ignored : Not part of test build due to Issue 200
6 */
7
8// This test is returning NPE...
9
10drop dataverse test if exists;
11create dataverse test;
12
13write output to nc1:"rttest/cross-dataverse_udf03.adm";
14
15create function test.echo($list){
16$list
17}
18
19for $a in [[1,2],["A","B"],["UCLA","UCSD","UCR","UCI"]]
20return test.echo($a)