apache/spark — pull request #3791 by hzlyx (2014-12-24 15:07:26+00:00)
Title: Vectors.sparse() add support to unsorted indices

For original method, when the indices is not strictly increasing, the sparse vector can be created without any warning or error. But when use apply() method, only zero will be returned.