-
- Downloads
[SPARK-16369][MLLIB] tallSkinnyQR of RowMatrix should aware of empty partition
## What changes were proposed in this pull request? tallSkinnyQR of RowMatrix should aware of empty partition, which could cause exception from Breeze qr decomposition. See the [archived dev mail](https://mail-archives.apache.org/mod_mbox/spark-dev/201510.mbox/%3CCAF7ADNrycvPL3qX-VZJhq4OYmiUUhoscut_tkOm63Cm18iK1tQmail.gmail.com%3E) for more details. ## How was this patch tested? Scala unit test. Author: Xusen Yin <yinxusen@gmail.com> Closes #14049 from yinxusen/SPARK-16369.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala 3 additions, 2 deletions...org/apache/spark/mllib/linalg/distributed/RowMatrix.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/distributed/RowMatrixSuite.scala 17 additions, 0 deletions...pache/spark/mllib/linalg/distributed/RowMatrixSuite.scala
Please register or sign in to comment