Details
Description
IndexedRowMatrix.computeSVD() yields a wrong U which U.numCols() = self.nCols.
It should have been U.numCols() = k = svd.U.numCols()
self = U * sigma * V.transpose (m x n) = (m x n) * (k x k) * (k x n) --> (m x n) = (m x k) * (k x k) * (k x n)
Proposed fix: https://github.com/apache/spark/pull/6953