RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 10 | drop dataverse test if exists; |
| 11 | create dataverse test; |
| 12 | |
| 13 | write output to nc1:"rttest/cross-dataverse_udf03.adm"; |
| 14 | |
| 15 | create function test.echo($list){ |
| 16 | $list |
| 17 | } |
| 18 | |
| 19 | for $a in [[1,2],["A","B"],["UCLA","UCSD","UCR","UCI"]] |
| 20 | return test.echo($a) |