hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10580) Fix impossible cast in GenericUDF.getConstantLongValue
Date Wed, 13 May 2015 22:41:59 GMT

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

Alexander Pivovarov commented on HIVE-10580:
--------------------------------------------

Can you +1 for fixing the bug then? Sure, we can deprecate it when new getConstantLongValue
will be available.

> Fix impossible cast in GenericUDF.getConstantLongValue
> ------------------------------------------------------
>
>                 Key: HIVE-10580
>                 URL: https://issues.apache.org/jira/browse/HIVE-10580
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-10580.1.patch
>
>
> line 548-549
> {code}
>     if (constValue instanceof IntWritable) {
>       v = ((LongWritable) constValue).get();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message