Github user ilganeli commented on the pull request:
https://github.com/apache/spark/pull/6686#issuecomment-110439765
@rxin I reverted to using fromString because the ```DataTypeParser.parse```
does not support ```LongType```. This means it's not a strictly correct
conversion and would actually invalidate a number of existing tests if we were
to use this function instead. The ```parse()``` function I think has a
different purpose. I restored its use within ```DataType.cast()``` but use
```fromString``` elsewhere.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]