ajithme edited a comment on issue #24762: [SPARK-27907][SQL] HiveUDAF with 0 
rows throw NPE
URL: https://github.com/apache/spark/pull/24762#issuecomment-497855726
 
 
   > Interesting, I wonder if the 'correct' answer should be the empty result 
set or null? @gatorsmile or @cloud-fan do you have insight into this one?
   
   I tried the same query on hive and it returned null, so i think we can keep 
it consistent with hive behaviour.?
   
   
![image](https://user-images.githubusercontent.com/22072336/58734130-26ff7900-8414-11e9-91e6-3d9173145529.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to