blob: 088b97edfbd0f243267cbca477105377b0c2a309 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Pass as input an ordered list of Records as input to UDF and return the list.
3 * Expected Res : Success
4 * Date : 4th September 2012
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9
10write output to nc1:"rttest/cross-dataverse_udf04.adm";
11
12create function test.echo($list){
13$list
14}
15
16for $a in [{"name":"John","age":45,"id":123},{"name":"Jim","age":55,"id":103},{"name":"Bill","age":35,"id":125}]
17return test.echo($a)