[
https://issues.apache.org/jira/browse/SPARK-21025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-21025.
---
Resolution: Not A Problem
Different bug, but still a bug in your code. Please don't reopen this as a
[
https://issues.apache.org/jira/browse/SPARK-21025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-21025.
---
Resolution: Invalid
Oh, and I realized the mistake here. You put the body of the loop on one line