[ 
https://issues.apache.org/jira/browse/NIFI-7300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087846#comment-17087846
 ] 

ASF subversion and git services commented on NIFI-7300:
-------------------------------------------------------

Commit 923a07a5db9c57014d5d39c8e0e672889d38f236 in nifi's branch 
refs/heads/master from Bence Simon
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=923a07a ]

NIFI-7300 Allowing narrow numeric types to fit againt schema check with wider 
type; Allowing doubles with value within float precision to be considered as 
valid floats (NIFI-7302)


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

Reply via email to