[ https://issues.apache.org/jira/browse/HIVE-5999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nemon Lou updated HIVE-5999: ---------------------------- Attachment: HIVE-5999.patch Limitations: 1,"lines terminated by" only works with text file. 2,"Multiple table with the same data path but different delimiter" is not supported in the same query, due to path binding with tableDesc(See Map<String, PartitionDesc> pathToPartitionInfo). 3,Line delimiter "10" will be treated as string "10" instead of "\n" .As we support line delimiter with string . > Allow other characters for LINES TERMINATED BY > ----------------------------------------------- > > Key: HIVE-5999 > URL: https://issues.apache.org/jira/browse/HIVE-5999 > Project: Hive > Issue Type: Improvement > Components: Beeline, Database/Schema, Hive > Affects Versions: 0.12.0 > Reporter: Mariano Dominguez > Assignee: Nemon Lou > Priority: Critical > Labels: Delimiter, Hive, Row, SerDe > Attachments: HIVE-5999.patch > > > LINES TERMINATED BY only supports newline '\n' right now. > It would be nice to loosen this constraint and allow other characters. > This limitation seems to be hardcoded here: > https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java#L171 > The DDL Definition on the Hive Language manual shows this as a configurable > property whereas it is not. This may lead to mileading assement of being able > to choose a choice of field delimiter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)