[ https://issues.apache.org/jira/browse/SPARK-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust updated SPARK-2375: ------------------------------------ Target Version/s: 1.1.0 Fix Version/s: (was: 1.1.0) > JSON schema inference may not resolve type conflicts correctly for a field > inside an array of structs > ----------------------------------------------------------------------------------------------------- > > Key: SPARK-2375 > URL: https://issues.apache.org/jira/browse/SPARK-2375 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.0.1 > Reporter: Yin Huai > > For example, for > {code} > {"array": [{"field":214748364700}, {"field":1}]} > {code} > the type of field is resolved as IntType. While, for > {code} > {"array": [{"field":1}, {"field":214748364700}]} > {code} > the type of field is resolved as LongType. -- This message was sent by Atlassian JIRA (v6.2#6252)