Matt Burgess created NIFI-7976:
----------------------------------

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


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)

Reply via email to