Details
-
Documentation
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
Description
This is inspired by SPARK-28058.
When using DROPMALFORMED mode, corrupted records aren't dropped if malformed columns aren't read. This behavior is due to CSV parser column pruning. Current doc of DROPMALFORMED doesn't mention the effect of column pruning. Users will be confused by the fact that DROPMALFORMED mode doesn't work as expected.
Attachments
Issue Links
- duplicates
-
SPARK-28058 Reading csv with DROPMALFORMED sometimes doesn't drop malformed records
- Resolved
- links to