Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4242

CSVReader shouldn't require that an escape character be defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 1.3.0
    • None
    • None
    • None

    Description

      There are situations where, when parsing a CSV file, one doesn't want to define an escape character. For example, when using quote character ", the following is valid CSV;

      a,"""b",c
      

      The second column should be interpreted as "b. But when Apache Commons CSV is told that there's an escape character, the above row is invalid (interestingly, if it was """b""", it would be valid as "b").

      There are known formats that Apache Commons CSV provides, that doesn't define escape characters either.

      Attachments

        1. NIFI-4242.patch
          9 kB
          Wesley L Lawrence
        2. NIFI-4242.patch
          9 kB
          Wesley L Lawrence

        Activity

          People

            Unassigned Unassigned
            WesleyLawrence Wesley L Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m