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

Yin Huai updated SPARK-2375:
----------------------------

    Component/s: SQL

> 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
>             Fix For: 1.1.0
>
>
> 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)

Reply via email to