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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to