blob: 4b4992ac2f2387ca0b5a229212086cfdf216459f [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF that returns a heterogeneous ordered list
3 * : invoke the UDF in the FOR expression of FLWOR
4 * Expected Res : Success
5 * Date : Sep 5th 2012
6 * Ignored : Not part of current tests because of Issue 200
7 */
8
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +00009// this test resturns NPE:Issue 166
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000010
11drop dataverse test if exists;
12create dataverse test;
13
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000014write output to nc1:"rttest/user-defined-functions_udf15.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000015
16create function test.OList2(){
17[[1,2,3,4,5,6,7,8,9,10],["a","b","c","d","e","f","g","h","y"]]
18}
19
20for $a in test.OList2()
21return $a