hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Shao <zsh...@gmail.com>
Subject Re: TIMESTAMP type
Date Sun, 08 Mar 2009 00:29:49 GMT
The problem is that different people may have different formats to store
TIMESTAMP.

The easiest way to go is to declare the field as STRING, and then use UDF to
manipulate the content.

Zheng

On Sat, Mar 7, 2009 at 6:08 AM, Shyam Sarkar <shyam_sarkar@yahoo.com> wrote:

>
> Hello,
>
> I inspected the grammar Hive.g and decided to create a new type for
> TIMESTAMP. TIMESTAMP is not a primitive type or list type or map type. It is
> a timestamp type of the form TIMESTAMP(YYYYMMDDHHMMSS) which is different
> from other types.
>
> Please let me know if there is any other suggestions.
>
> Thanks,
> shyam_sarkar@yahoo.com
>
>
>
>
>
>
>


-- 
Yours,
Zheng

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message