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