Vlad Rozov created DRILL-6150:
---------------------------------

             Summary: 
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
         Attachments: test.tsv.zip

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}



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

Reply via email to