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

quotes in .tsv trigger exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Storage - Text & CSV
    • None

    Description

      Given a simple tsv file as below

      "a"	a
      a	a
      a
      

      After getting the first quote, the TextReader would just keep going down the entire files, as opposed to stopping at the second quote.

      This will trigger an exception

      org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: TextParsingException: Error processing input: Cannot use newline character within quoted string, line=2, char=12. Content parsed: [ ]
      Fragment 0:0
      

      which complains at having newline in the quote.

      Attachments

        Activity

          People

            cchang@maprtech.com Chun Chang
            seanhychu Sean Hsuan-Yi Chu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: