hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6251) Add ability to specify delimiter in HCatalog Java API to create tables - HCatCreateTableDesc
Date Mon, 27 Jan 2014 18:33:43 GMT

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

Eugene Koifman updated HIVE-6251:
---------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: 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)

Mime
View raw message