Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2556

CSVExcelStorage load: quoted field with newline as first character sees newline as record end

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.11
    • piggybank
    • Patch Available

    Description

      Loading a record that contains a newline as the first character in a quoted field is broken. The loader interprets the quoted newline as the record delimiter. I've identified and fixed the bug and added a new testcase to expose it. I'll post a patch soon.

      Attachments

        1. csv3.patch
          6 kB
          Vitalii Tymchyshyn
        2. patch_PIG2556_CSVExcelStorage.patch
          3 kB
          Peter Welch

        Activity

          People

            tivv Vitalii Tymchyshyn
            stickyhipp Peter Welch
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: