Pig
  1. Pig
  2. PIG-2556

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.11
    • Component/s: piggybank
    • Labels:
    • Patch Info:
      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.

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

        Activity

        Peter Welch created issue -
        Peter Welch made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Labels newbie patch
        Peter Welch made changes -
        Patch Info Patch Available [ 10042 ]
        Peter Welch made changes -
        Attachment patch_PIG2556_CSVExcelStorage.patch [ 12516200 ]
        Vitalii Tymchyshyn made changes -
        Attachment CSVExcelProblems-2.patch [ 12541355 ]
        Dmitriy V. Ryaboy made changes -
        Assignee Vitalii Tymchyshyn [ tivv ]
        Vitalii Tymchyshyn made changes -
        Attachment CSVExcelProblems-2.patch [ 12541355 ]
        Vitalii Tymchyshyn made changes -
        Attachment csv3.patch [ 12541594 ]
        Dmitriy V. Ryaboy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.11 [ 12318878 ]
        Resolution Fixed [ 1 ]
        Bill Graham made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Vitalii Tymchyshyn
            Reporter:
            Peter Welch
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development