[ 
https://issues.apache.org/jira/browse/HIVE-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791617#comment-13791617
 ] 

Edward Capriolo edited comment on HIVE-5494 at 10/10/13 4:06 PM:
-----------------------------------------------------------------

Q. Should we be testing with null values?  
1. Should we be testing results. This test only shows that we are no longer 
throwing an exception at this point, but we are not showing the feature works 
in any meaningful way. After this test can't we just end up with another 
exception later in the code?

I think we need an end to end test here:
a
5
null
1
select sum ( abs(a) ) from table
>6



was (Author: appodictic):
Q. Should we be testing with null values?  
1. Should we be testing results. This test only shows that we are no longer 
throwing an exception at this point, but we are not showing the feature works 
in any meaningful way. After this test can't we just end up with another 
exception later in the code?

> Vectorization throws exception with nested UDF.
> -----------------------------------------------
>
>                 Key: HIVE-5494
>                 URL: https://issues.apache.org/jira/browse/HIVE-5494
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HIVE-5494.1.patch
>
>
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Udf: 
> GenericUDFAbs, is not supported
> at 
> org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getVectorExpression(VectorizationContext.java:465)
> at 
> org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getVectorExpression(VectorizationContext.java:274)
> at 
> org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getAggregatorExpression(VectorizationContext.java:1512)
> at 
> org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.<init>(VectorGroupByOperator.java:133)
> ... 41 more
> FAILED: RuntimeException java.lang.reflect.InvocationTargetException
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to