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 2018/11/22 02:58:00 UTC
[jira] [Resolved] (SPARK-26099) Verification of the corrupt column
in from_csv/from_json
[ https://issues.apache.org/jira/browse/SPARK-26099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-26099.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Issue resolved by pull request 23070
[https://github.com/apache/spark/pull/23070]
> Verification of the corrupt column in from_csv/from_json
> --------------------------------------------------------
>
> Key: SPARK-26099
> URL: https://issues.apache.org/jira/browse/SPARK-26099
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: Maxim Gekk
> Assignee: Maxim Gekk
> Priority: Minor
> Fix For: 3.0.0
>
>
> The corrupt column specified via JSON/CSV option *columnNameOfCorruptRecord* must be of string type and not nullable. The checking does exist in DataFrameReader and JSON/CSVFileFormat, and the same should be added to CsvToStructs and to JsonToStructs
--
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