You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2013/10/10 18:07:42 UTC

[jira] [Comment Edited] (HIVE-5494) Vectorization throws exception with nested UDF.

    [ 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)