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

Vlad Rozov updated DRILL-6150:
------------------------------
    Description: 
TextReader uses recursion to parse quoted values causing StackOverflowError: 
{noformat}
select count(*) from dfs.`test.tsv`; (extractHeader should be set to true).
{noformat}
{noformat}
Exception in thread "drill-executor-26" java.lang.StackOverflowError
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:269)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
{noformat}

  was:
TextReader uses recursion to parse quoted values causing StackOverflowError: 
{noformat}
select count(*) from dfs.`test.tsv`
{noformat}
{noformat}
Exception in thread "drill-executor-26" java.lang.StackOverflowError
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:269)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
        at 
org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
{noformat}


> org.apache.drill.exec.store.easy.text.compliant.TextReader is subject of 
> java.lang.StackOverflowError
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-6150
>                 URL: https://issues.apache.org/jira/browse/DRILL-6150
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Text & CSV
>            Reporter: Vlad Rozov
>            Priority: Major
>         Attachments: test.tsv.zip
>
>
> TextReader uses recursion to parse quoted values causing StackOverflowError: 
> {noformat}
> select count(*) from dfs.`test.tsv`; (extractHeader should be set to true).
> {noformat}
> {noformat}
> Exception in thread "drill-executor-26" java.lang.StackOverflowError
>         at 
> org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:269)
>         at 
> org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
>         at 
> org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
>         at 
> org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:242)
>         at 
> org.apache.drill.exec.store.easy.text.compliant.TextReader.parseQuotedValue(TextReader.java:293)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to