hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1260) from_unixtime should implment a overloading function to accept only bigint type
Date Wed, 24 Mar 2010 16:57:27 GMT

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

Namit Jain commented on HIVE-1260:
----------------------------------

Can you add a test ?

> 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.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.


Mime
View raw message