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

Eugene Koifman updated HIVE-5814:
---------------------------------

    Description: 
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.


  was: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.


> Add DATE, TIMESTAMP, DECIMAL, CHAR, VARCHAR types support in HCat
> -----------------------------------------------------------------
>
>                 Key: HIVE-5814
>                 URL: https://issues.apache.org/jira/browse/HIVE-5814
>             Project: Hive
>          Issue Type: New Feature
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to