nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Bence (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (NIFI-7300) Using ValidateRecord it invalidates a field if it is an int but schema has it as a long
Date Tue, 07 Apr 2020 12:10:00 GMT

     [ 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)

Mime
View raw message