https://github.com/apache/spark/pull/715?