[ https://issues.apache.org/jira/browse/HIVE-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858764#action_12858764 ]
Namit Jain commented on HIVE-1260: ---------------------------------- +1 looks good will commit if the tests pass > from_unixtime should implment a overloading function to accept only bigint > type > ------------------------------------------------------------------------------- > > Key: HIVE-1260 > URL: https://issues.apache.org/jira/browse/HIVE-1260 > Project: Hadoop Hive > Issue Type: Improvement > Affects Versions: 0.6.0 > Reporter: Ning Zhang > Assignee: Ning Zhang > Fix For: 0.6.0 > > Attachments: HIVE-1260.2.patch, HIVE-1260.patch > > > hive> select from_unixtime(cast(0 as bigint)) from nzhang_tt_bigint; > FAILED: Error in semantic analysis: line 1:7 Wrong Arguments a: No matching > method for class org.apache.hadoop.hive.ql.udf.UDFFromUnixTime with (bigint). > Possible choices: _FUNC_(int) _FUNC_(bigint, string) _FUNC_(int, string) > hive> select from_unixtime(cast(0 as nt)) from nzhang_tt_bigint; > succeeded. We should implement a similar overloading function for bigint as > well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.