Review Board 1.7.22


HIVE-1399 - Nested UDAFs cause Hive Internal Error (NullPointerException)

Review Request #2146 - Created Oct. 2, 2011 and updated

Adam Fokken
HIVE-1399
Reviewers
hive
hive-git
HIVE-1399 - fix for null pointer with nested UDAFs

 
Posted (Oct. 17, 2011, 7:04 p.m.)

   

  
Need a better error message here since

(a) this validation rule applies to builtin aggregate function such as SUM also (so we should just refer to "aggregate functions" rather than UDAF's)

(b) this error message also shows up if you try to use an aggregate function in the WHERE clause (or anywhere other than SELECT/HAVING)

So either we need to discriminate the two contexts, or else come up with a wording that covers both without causing confusion.