@jerryshao,  thanks a lot for pointing this out!  I have reproduced locally.  JIRA here:
https://spark-project.atlassian.net/browse/SPARK-1353

@AndreSchumacher, can you take a look?