You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2010/04/20 11:39:28 UTC
[jira] Updated: (HIVE-1260) from_unixtime should implment a
overloading function to accept only bigint type
[ https://issues.apache.org/jira/browse/HIVE-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ning Zhang updated HIVE-1260:
-----------------------------
Attachment: HIVE-1260.2.patch
Added a new unit test and refreshed to the latest trunk.
> 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.