You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/02/06 12:10:09 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13893261#comment-13893261 ]
Lefty Leverenz commented on HIVE-6251:
--------------------------------------
Does this need any user doc?
> 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)