[
https://issues.apache.org/jira/browse/HIVE-11996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sameer Gupta updated HIVE-11996:
--------------------------------
Description:
Error Code and Text:
" LINES TERMINATED BY only supports newline '\n' right now. Error encountered
near token ''\u0001'' (state=42000,code=40000)"
Issue Discription:
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.
was:
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.
> CLONE - Allow other characters for LINES TERMINATED BY
> -------------------------------------------------------
>
> Key: HIVE-11996
> URL: https://issues.apache.org/jira/browse/HIVE-11996
> Project: Hive
> Issue Type: Bug
> Components: Beeline, Database/Schema, Hive
> Affects Versions: 0.12.0
> Reporter: Sameer Gupta
> Assignee: Ashutosh Chauhan
> Priority: Critical
> Labels: Delimiter, Hive, Row, SerDe
>
> Error Code and Text:
> " LINES TERMINATED BY only supports newline '\n' right now. Error encountered
> near token ''\u0001'' (state=42000,code=40000)"
> Issue Discription:
> 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)