You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2020/04/20 15:27:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-7300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne updated NIFI-7300:
-----------------------------
    Fix Version/s: 1.12.0

> 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: Extensions
>         Environment: Nifi 1.9 but probably other versions
>            Reporter: Juan C. Sequeiros
>            Assignee: Simon Bence
>            Priority: Major
>              Labels: Record
>             Fix For: 1.12.0
>
>         Attachments: ValidateRecord_Weirdness.xml
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
>  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)