You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Johannes (JIRA)" <ji...@apache.org> on 2014/11/06 15:25:34 UTC
[jira] [Created] (FLINK-1223) Allow value escaping in CSV files
Johannes created FLINK-1223:
-------------------------------
Summary: Allow value escaping in CSV files
Key: FLINK-1223
URL: https://issues.apache.org/jira/browse/FLINK-1223
Project: Flink
Issue Type: Bug
Components: Java API, Scala API
Affects Versions: 0.8-incubating
Reporter: Johannes
Priority: Minor
The CSV Parser currently does not interpret escaped values
The example from here
http://en.wikipedia.org/wiki/Comma-separated_values#Example
{code}
Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",3000.00
1999,Chevy,"Venture ""Extended Edition""","",4900.00
{code}
Does not work currently.
Here escaping inside the string field generates an error.
For reference
An interesting post about the fallacies that could be encountered when parsing CSV files.
[http://tburette.github.io/blog/2014/05/25/so-you-want-to-write-your-own-CSV-code/]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)