blob: eef906dabb269ca33b66f02e03008e00619fc4ea [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF that returns a range
3 * Expected Res : Success
4 * Date : Sep 5 2012
5 * Ignored : Not part of current test build because of Issue 201
6 */
7
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +00008// Returns java.lang.ClassCastException : Issue 195
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00009
10drop dataverse test if exists;
11create dataverse test;
12
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000013write output to nc1:"rttest/user-defined-functions_udf24.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000014
15create function test.myRangeFn($n)
16{
17 range(1,$n)
18}
19
20for $i in test.myRangeFn(100)
21return $i