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

When Strict Type Checking property is set to "false", ValidateRecord does not coerce fields into the correct type.

    XMLWordPrintableJSON

    Details

      Description

      The description of the Strict Type Checking property for the ValidateRecord processor states:

      If false, the Record will be considered valid and the field will be coerced into the correct type (if possible, according to the type coercion supported by the Record Writer).

      In my testing I've confirmed that in this scenario, the records are considered valid. But, none of the record fields are coerced into the correct type.

      We should either correct the documentation or implement the promised coercion functionality.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijokarumawak Koji Kawamura
                Reporter:
                andrewmlim Andrew M. Lim
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: