Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Previously, the XML parser can't skip nested structure data fields effectively when they were not selected in the schema. For instance, in the below example, `df.select("struct2").collect()` returns `Seq(null)` as `struct1` wasn't effectively skipped. This PR fixes this issue.
<ROW> <struct1> <innerStruct><field1>1</field1></innerStruct> </struct1> <struct2> <field2>2</field2> </struct2> </ROW>
Attachments
Issue Links
- links to