jarodwen | cbbab14 | 2013-02-01 07:56:46 +0000 | [diff] [blame^] | 1 | /* |
2 | * Description : Create UDF and pass an unordered list as input and return that list. | ||||
3 | * Expected Res : Success | ||||
4 | * Date : 4th September 2012 | ||||
5 | */ | ||||
6 | |||||
7 | drop dataverse test if exists; | ||||
8 | create dataverse test; | ||||
9 | |||||
10 | write output to nc1:"rttest/user-defined-functions_udf10.adm"; | ||||
11 | |||||
12 | create function test.echo($uolist){ | ||||
13 | $uolist | ||||
14 | } | ||||
15 | |||||
16 | let $a:={{"this is optional data","this is extra data","open types are good"}} | ||||
17 | return test.echo($a) |