[
https://issues.apache.org/jira/browse/HIVE-7390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058901#comment-14058901
]
Jim Halfpenny commented on HIVE-7390:
-------------------------------------
The definition of the CSV/TSV formats are poorly defined in terms of standards.
There is RFC 4180 which defines CSV files as having an optional double quote
character around the values. Currently beeline uses a single quote, which is
contrary to the RFC. Nor does beeline escape any instances of the quote
character in the content of the fields.
One option would be to provide additional output formats for unquoted CSV and
TSV so that users can decide whether or not then output fields should be
wrapped.
> Make quote character optional and configurable in BeeLine CSV/TSV output
> ------------------------------------------------------------------------
>
> Key: HIVE-7390
> URL: https://issues.apache.org/jira/browse/HIVE-7390
> Project: Hive
> Issue Type: New Feature
> Components: Clients
> Affects Versions: 0.13.1
> Reporter: Jim Halfpenny
> Attachments: HIVE-7390.patch
>
>
> Currently when either the CSV or TSV output formats are used in beeline each
> column is wrapped in single quotes. Quote wrapping of columns should be
> optional and the user should be able to choose the character used to wrap the
> columns.
--
This message was sent by Atlassian JIRA
(v6.2#6252)