apache/spark — pull request #1315 by ueshin (2014-07-07 10:39:04+00:00)
Title: [SPARK-2386] [SQL] RowWriteSupport should use the exact types to cast.

When execute `saveAsParquetFile` with non-primitive type, `RowWriteSupport` uses wrong type `Int` for `ByteType` and `ShortType`.