Github user dorx commented on the pull request: https://github.com/apache/spark/pull/1581#issuecomment-50092950 @mengxr Given the current list of supported types, no, but if someone down the road adds Long or arrays of chars/shorts, etc, which isn't far-fetched, then it becomes necessary for safety.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---