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

[jira] [Assigned] (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 ]

Simon Bence reassigned NIFI-7300:
---------------------------------

    Assignee: Simon Bence

> 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
>         Attachments: ValidateRecord_Weirdness.xml
>
>          Time Spent: 0.5h
>  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)