IMPALA-1589: allow up to 8 non-variadic arguments in the interpreted UDF path

Change-Id: Ie17763366311554ee1a58ed6b8a8d40973ae20d9
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5604
Reviewed-by: Skye Wanderman-Milne <skye@cloudera.com>
Tested-by: Skye Wanderman-Milne <skye@cloudera.com>
This commit is contained in:
Skye Wanderman-Milne
2014-12-16 16:51:39 -08:00
parent c1ba95999a
commit cfd4ff2546
4 changed files with 158 additions and 3 deletions

View File

@@ -480,3 +480,38 @@ INT
---- RESULTS
NULL
====
---- QUERY
select four_args(1,2,3,4);
---- TYPES
INT
---- RESULTS
10
====
---- QUERY
select five_args(1,2,3,4,5);
---- TYPES
INT
---- RESULTS
15
====
---- QUERY
select six_args(1,2,3,4,5,6);
---- TYPES
INT
---- RESULTS
21
====
---- QUERY
select seven_args(1,2,3,4,5,6,7);
---- TYPES
INT
---- RESULTS
28
====
---- QUERY
select eight_args(1,2,3,4,5,6,7,8);
---- TYPES
INT
---- RESULTS
36
====