You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/11/17 11:30:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16690498#comment-16690498 ] 

Apache Spark commented on SPARK-26099:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
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
>            Priority: Minor
>
> 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