Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6150

org.apache.drill.exec.store.easy.text.compliant.TextReader is subject of java.lang.StackOverflowError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.12.0
    • None
    • Storage - Text & CSV
    • None

    Description

      TextReader uses recursion to parse quoted values causing StackOverflowError:

      select count(*) from dfs.`test.tsv`; (extractHeader should be set to true).
      
      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)
      

      Attachments

        1. test.tsv.zip
          15.81 MB
          Vlad Rozov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vrozov Vlad Rozov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: