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

[jira] [Commented] (NIFI-7302) Using ValidateRecord it invalidates a field if it is an decimal ( 5.5 ) but schema has it as a float

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

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

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 decimal ( 5.5 ) but schema has it as a float
> ----------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-7302
>                 URL: https://issues.apache.org/jira/browse/NIFI-7302
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Juan C. Sequeiros
>            Assignee: Simon Bence
>            Priority: Major
>         Attachments: ValidateRecord_test.xml
>
>
> If we pass a float number for instance 5.5 to ValidateRecord and schema is defined as a float type it fails but if we change schema to a double it passes.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)