[ https://issues.apache.org/jira/browse/HIVE-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542853#comment-14542853 ]
Swarnim Kulkarni commented on HIVE-10580: ----------------------------------------- {quote} So I think we should go ahead and just deprecate this method since it is not being used. {quote} I don't think I worded this properly. It should be a "if" instead of "since" ;) So my only point was that if we must remove this method, let's not remove it non-passively but deprecate it and doc accordingly so our consumers have a chance to migrate to the newer API. > 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)