You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2014/07/05 22:07:33 UTC

[jira] [Created] (SPARK-2375) JSON schema inference may not resolve type conflicts correctly for a field inside an array of structs

Yin Huai created SPARK-2375:
-------------------------------

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