You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:04:20 UTC
[jira] [Updated] (SPARK-21651) Detect MapType in Json InferSchema
[ https://issues.apache.org/jira/browse/SPARK-21651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-21651:
---------------------------------
Labels: bulk-closed (was: )
> Detect MapType in Json InferSchema
> ----------------------------------
>
> Key: SPARK-21651
> URL: https://issues.apache.org/jira/browse/SPARK-21651
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.1.0, 2.1.1, 2.2.0
> Reporter: Jochen Niebuhr
> Priority: Minor
> Labels: bulk-closed
>
> When loading Json Files which include a map with very variable keys, the current schema infer logic might create a very large schema. This will lead to long load times and possibly out of memory errors.
> I've already submitted a pull request to the mongo spark driver which had the same problem. Should I port this logic over to the json schema infer class?
> The MongoDB Spark pull request mentioned is: https://github.com/mongodb/mongo-spark/pull/24
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org