You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/11/03 16:50:00 UTC

[jira] [Assigned] (NIFI-7976) JSON Schema Inference infers long type when all values fit in integer type

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

Matt Burgess reassigned NIFI-7976:
----------------------------------

    Assignee: Matt Burgess

> JSON Schema Inference infers long type when all values fit in integer type
> --------------------------------------------------------------------------
>
>                 Key: NIFI-7976
>                 URL: https://issues.apache.org/jira/browse/NIFI-7976
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>
> For CSV and XML Schema Inference engines, integral values are checked to see if they fit into an integer type, and if so, the engine infers "int" type, otherwise it infers "long" type. However the JSON inference engine only checks for "bigint" and everything else is "long". 
> It should also check to see if the values fit in an integer type and infer "int" in that case.



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