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

Enable not setting a value for Escape Character in CSVReader controller service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.15.0
    • Extensions
    • None

    Description

      Currently Escape Character is a mandatory property in the CSVReader controller service. Whenever a custom CSV format is specified in the reader, it needs to be provided. If it is not set, it defaults to '\'. It would be useful to allow the users not to set this value in which case no character would be considered an escape character. CSVFormat class allows passing null value as the escape char (to the constructor) and some built-in formats (RFC 4180, Microsoft Excel, Tab-delimited, Informix Unload Escape Disabled) actually use this setting.
      Also modify the CSVRecordSetWriter, so the record could be written in alignment with the reader.

      Attachments

        Issue Links

          Activity

            People

              timeabarna Timea Barna
              pgyori Peter Gyori
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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