RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Description : Create UDF and define with missing references. |
| 3 | * Expected Res : Failure |
| 4 | * Date : Sep 6th 2012 |
| 5 | */ |
| 6 | |
| 7 | drop dataverse test if exists; |
| 8 | create dataverse test; |
| 9 | |
RamanGrover29@gmail.com | 2471039 | 2012-11-11 18:57:42 +0000 | [diff] [blame] | 10 | write output to nc1:"rttest/user-defined-functions_udf26.adm"; |
RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 11 | |
| 12 | create function test.needs_f1($x){ |
| 13 | $x + f1() |
| 14 | } |
| 15 | |
| 16 | test.needs_f1(12345) |