You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/02/05 19:20:10 UTC

[jira] [Updated] (HIVE-6251) Add ability to specify delimiter in HCatalog Java API to create tables - HCatCreateTableDesc

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

Alan Gates updated HIVE-6251:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
     Release Note: Added ability to set serde parameters from webhcat-java client.
           Status: Resolved  (was: Patch Available)

Patch checked in.  Thanks Eugene.

> Add ability to specify delimiter in HCatalog Java API to create tables - HCatCreateTableDesc
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6251
>                 URL: https://issues.apache.org/jira/browse/HIVE-6251
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog, WebHCat
>    Affects Versions: 0.13.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6251.2.patch, HIVE-6251.patch
>
>
> Per https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/TruncateTablerow_format, the following is supported when creating a table.
> {code}
>   : DELIMITED [FIELDS TERMINATED BY char [ESCAPED BY char]] [COLLECTION ITEMS TERMINATED BY char]
>         [MAP KEYS TERMINATED BY char] [LINES TERMINATED BY char]
>         [NULL DEFINED AS char] (Note: Only available starting with Hive 0.13)
>   | SERDE serde_name [WITH SERDEPROPERTIES (property_name=property_value, property_name=property_value, ...)]
> {code}
> Need to add support for specifying 4 delimiters plus escape and NULL in HCatCreateTableDesc. create(String dbName, String tableName, List<HCatFieldSchema> columns) API.



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