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

[jira] [Created] (SPARK-26099) Verification of the corrupt column in from_csv/from_json

Maxim Gekk created SPARK-26099:
----------------------------------

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


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