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

Record components do not support String <-> byte[] conversions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Extensions
    • None

    Description

      When trying to perform a conversion of a field between a String and a byte array, various errors are reporting (depending on where the conversion is taking place). Here are some examples:

      1) CSVReader, if a column with String values is specified in the schema as "bytes"

      2) ConvertRecord, if an input field is of type String and the output field is of type "bytes"

      3) ConvertRecord, if an input field is of type "bytes" and the output field is of type "String"

      Many/most/all of the record components use utility methods to convert values, I believe these methods need to be updated to support conversion between String and byte[] values.

       

      Attachments

        Activity

          People

            mattyb149 Matt Burgess
            mattyb149 Matt Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: