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

Using ValidateRecord it invalidates a field if it is an int but schema has it as a long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • Extensions
    • Nifi 1.9 but probably other versions

    Description

       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.

      Attachments

        1. ValidateRecord_Weirdness.xml
          33 kB
          Juan C. Sequeiros

        Issue Links

          Activity

            People

              simonbence Simon Bence
              digitalplumber Juan C. Sequeiros
              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 10m
                  2h 10m