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

Support tab & special delimiter chars in csv2avro converter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Framework
    • Labels:
    • Flags:
      Patch

      Description

      The original ConvertCSVToAvro implementation was unable to process tab separated files, because "\t" as delimiter character was invalid, coming from the UI, entered by the user. The validator for this property only allowed single characters and the "\t" input was not unescaped before validation. The current version allows special, escaped characters like \t and \f (form-feed) for delimiter, quote and escape character.

        Attachments

        1. nifi_csv2avro.png
          31 kB
          Joe Mészáros

          Activity

            People

            • Assignee:
              tkurc Tony Kurc
              Reporter:
              joemeszaros Joe Mészáros
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: