forked from databricks/spark-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No value in nested struct causes arrayIndexOutOfBounds
This PR is a copy of databricks#118 so the author will be him. I just only fixed some nits and make the test codes and data smaller. Author: Jan Scherbaum <[email protected]> Author: hyukjinkwon <[email protected]> Closes databricks#121 from HyukjinKwon/ISSUE-117.
- Loading branch information
1 parent
ad7abbd
commit 19eb277
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" ?> | ||
<root> | ||
<item> | ||
<b> | ||
<es> | ||
<e>1</e> | ||
</es> | ||
</b> | ||
</item> | ||
<item> | ||
<!-- Issue 117 - This is where an empty Row would be produced instead of null --> | ||
<b> | ||
<es></es> | ||
</b> | ||
</item> | ||
</root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters