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 03:59:19 UTC
[jira] [Updated] (SPARK-19783) Treat shorter/longer lengths of
tokens as malformed records in CSV parser
[ https://issues.apache.org/jira/browse/SPARK-19783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-19783:
---------------------------------
Labels: bulk-closed (was: )
> Treat shorter/longer lengths of tokens as malformed records in CSV parser
> -------------------------------------------------------------------------
>
> Key: SPARK-19783
> URL: https://issues.apache.org/jira/browse/SPARK-19783
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: Takeshi Yamamuro
> Priority: Major
> Labels: bulk-closed
>
> If a length of tokens does not match an expected length in a schema, we probably need to treat it as a malformed record.
> https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala#L239
--
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