Maxim Gekk created SPARK-26151: ---------------------------------- Summary: Return partial results for bad CSV records Key: SPARK-26151 URL: https://issues.apache.org/jira/browse/SPARK-26151 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 2.4.0 Reporter: Maxim Gekk
Currently, CSV datasource and from_csv returns a rows with all nulls for bad CSV records in the PERMISSIVE mode even some of fields were parsed and converted successfully. For example, the CSV input: {code} 0,2013-111-11 12:13:14 1,1983-08-04 {code} for the first line returned row is Row(null, null) but value 0 can be parsed and converted successfully. And result can be Row(0, null). This ticket aims to change implementation of UnivocityParser and return the partial result. -- 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