hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <>
Subject [jira] [Commented] (HIVE-5814) Add DATE, TIMESTAMP, DECIMAL, CHAR, VARCHAR types support in HCat
Date Mon, 24 Mar 2014 06:24:44 GMT


Lefty Leverenz commented on HIVE-5814:

bq. Also, we should take on a documentation task to update the HCat wiki with the Out-of-range

Has this been done yet?  It doesn't seem to be included in HIVE-6316 (Document support for
new types in HCat).

> -----------------------------------------------------------------
>                 Key: HIVE-5814
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 0.13.0
>         Attachments: HCat-Pig Type Mapping Hive 0.13.pdf, HIVE-5814.2.patch, HIVE-5814.3.patch,
HIVE-5814.4.patch, HIVE-5814.5.patch
> Hive 0.12 added support for new data types.  Pig 0.12 added some as well.  HCat should
handle these as well.    Also note that CHAR was added recently.
> Also allow user to specify a parameter in Pig like so HCatStorer('','', '-onOutOfRangeValue
Throw') to control what happens when Pig's value is out of range for target Hive column. 
Valid values for the option are Throw and Null.  Throw - make the runtime raise an exception,
Null, which is the default, means NULL is written to target column and a message to that effect
is emitted to the log.  Only 1 message per column/data type is sent to the log.
> See attached HCat-Pig Type Mapping Hive 0.13.pdf for exact mappings.

This message was sent by Atlassian JIRA

View raw message