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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.12.0
    • Fix Version/s: None
    • Component/s: Storage - Text & CSV
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: