[ 
https://issues.apache.org/jira/browse/DRILL-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Hsuan-Yi Chu updated DRILL-3718:
-------------------------------------
    Description: 
Given a simple tsv file as below
{code}
"a"     a
a       a
a
{code}

After getting the first quote, the TextReader would just keep going down the 
entire files, as opposed to stopping at the second quote.

This will trigger an exception
{code}
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: 
TextParsingException: Error processing input: Cannot use newline character 
within quoted string, line=2, char=12. Content parsed: [ ]
Fragment 0:0
{code}
which complains at having newline in the quote.

  was:
Given a simple tsv file as below
{code}
"a"     a
a       a
a
{code}

After getting the first quote, the TextReader would just keep going down the 
entire files, as opposed to stopping at the second "


> quotes in .tsv trigger exception 
> ---------------------------------
>
>                 Key: DRILL-3718
>                 URL: https://issues.apache.org/jira/browse/DRILL-3718
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Text & CSV
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Sean Hsuan-Yi Chu
>
> Given a simple tsv file as below
> {code}
> "a"   a
> a     a
> a
> {code}
> After getting the first quote, the TextReader would just keep going down the 
> entire files, as opposed to stopping at the second quote.
> This will trigger an exception
> {code}
> org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: 
> TextParsingException: Error processing input: Cannot use newline character 
> within quoted string, line=2, char=12. Content parsed: [ ]
> Fragment 0:0
> {code}
> which complains at having newline in the quote.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to