You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Juan C. Sequeiros (Jira)" <ji...@apache.org> on 2020/03/31 16:14:00 UTC

[jira] [Created] (NIFI-7300) Using ValidateRecord it invalidates a field if it is an int but schema has it as a long

Juan C. Sequeiros created NIFI-7300:
---------------------------------------

             Summary: Using ValidateRecord it invalidates a field if it is an int but schema has it as a long
                 Key: NIFI-7300
                 URL: https://issues.apache.org/jira/browse/NIFI-7300
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
         Environment: Nifi 1.9 but probably other versions
            Reporter: Juan C. Sequeiros
         Attachments: ValidateRecord_Weirdness.xml

 In ValidateRecord with Strict Type Checking = true it invalidates a record if a field schema is defined as a long for instance and the field is an int less than or equal to 2147483647.
If I define a long I would expect it to validate even if the number is less than 2147483647

 

Attached is template to reproduce the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)