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 <[email protected]> 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, > [email protected] > > > > > > > -- Yours, Zheng
