[
https://issues.apache.org/jira/browse/DRILL-6150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arina Ielchiieva updated DRILL-6150:
------------------------------------
Affects Version/s: 1.12.0
> 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
> Affects Versions: 1.12.0
> 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)