[ 
https://issues.apache.org/jira/browse/HIVE-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1360:
---------------------------------

    Status: Open  (was: Patch Available)

This patch causes a bunch of test failures. Looks like this is caused by mixing 
o.a.h.io.*Writable classes with o.a.h.hive.serde2.io.*Writable classes:


FAILED: Hive Internal Error: 
java.lang.ClassCastException(org.apache.hadoop.hive.serde2.io.DoubleWritable 
cannot be cast to org.apache.hadoop.io.DoubleWritable)
java.lang.ClassCastException: org.apache.hadoop.hive.serde2.io.DoubleWritable 
cannot be cast to org.apache.hadoop.io.DoubleWritable
        at 
org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorFactory.getPrimitiveWritableConstantObjectInspector(PrimitiveObjectInspectorFactory.java:179)
        at 
org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc.getWritableObjectInspector(ExprNodeConstantDesc.java:67)


> Allow UDFs to access constant parameter values at compile time
> --------------------------------------------------------------
>
>                 Key: HIVE-1360
>                 URL: https://issues.apache.org/jira/browse/HIVE-1360
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor, UDF
>    Affects Versions: 0.5.0
>            Reporter: Carl Steinbach
>            Assignee: Jonathan Chang
>         Attachments: HIVE-1360.2.patch.txt, HIVE-1360.2.test-failures.txt, 
> HIVE-1360.patch, HIVE-1360.patch
>
>
> UDFs should be able to access constant parameter values at compile time.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to