spark-instrumented-optimizer/sql/core/src
Maxim Gekk 76813cfa1e [SPARK-25950][SQL] from_csv should respect to spark.sql.columnNameOfCorruptRecord
## What changes were proposed in this pull request?

Fix for `CsvToStructs` to take into account SQL config `spark.sql.columnNameOfCorruptRecord` similar to `from_json`.

## How was this patch tested?

Added new test where `spark.sql.columnNameOfCorruptRecord` is set to corrupt column name different from default.

Closes #22956 from MaxGekk/csv-tests.

Authored-by: Maxim Gekk <max.gekk@gmail.com>
Signed-off-by: hyukjinkwon <gurwls223@apache.org>
2018-11-07 11:26:17 +08:00
..
main [SPARK-25926][CORE] Move config entries in core module to internal.config. 2018-11-06 09:18:17 +08:00
test [SPARK-25950][SQL] from_csv should respect to spark.sql.columnNameOfCorruptRecord 2018-11-07 11:26:17 +08:00