hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1260) from_unixtime should implment a overloading function to accept only bigint type
Date Sat, 20 Mar 2010 06:20:27 GMT

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

Ning Zhang updated HIVE-1260:
-----------------------------

    Status: Patch Available  (was: Open)

> 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