You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (Jira)" <ji...@apache.org> on 2019/10/22 10:21:00 UTC
[jira] [Resolved] (DRILL-4788) Exporting from Parquet to CSV -
commas in strings are not escaped
[ https://issues.apache.org/jira/browse/DRILL-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva resolved DRILL-4788.
-------------------------------------
Resolution: Fixed
Fixed in the scope of DRILL-6096.
> Exporting from Parquet to CSV - commas in strings are not escaped
> -----------------------------------------------------------------
>
> Key: DRILL-4788
> URL: https://issues.apache.org/jira/browse/DRILL-4788
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Affects Versions: 1.6.0
> Environment: Linux
> Reporter: Richard Patching
> Priority: Major
> Labels: csv, csvparser, export
> Fix For: 1.17.0
>
>
> When exporting data from Parquet to CSV, if there is a column which contains a comma, the text after the comma gets put into the next column instead of being escaped.
> The only work around is to do REGEXP_REPLACE(COLUMN[0], ',',' ') which replaced the comma in the string with a blank space. This is not ideal in terms of keeping a true accurate record of the data we receive.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)