[
https://issues.apache.org/jira/browse/NIFI-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Thomsen updated NIFI-7976:
-------------------------------
Fix Version/s: 1.13.0
> 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
> Fix For: 1.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)