Eugene Koifman created HIVE-6251:
------------------------------------

             Summary: 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


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 delimiters in HCatCreateTableDesc. 
create(String dbName, String tableName, List<HCatFieldSchema> columns) API.



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

Reply via email to