Description
There's several issues in the bound checking of SparseVector
1. In scala, miss negative index checking and different bound checking is scattered in several places. Should put them in one place
2. In python, miss low/upper bound checking of indices.
Attachments
Issue Links
- is duplicated by
-
SPARK-17130 SparseVectors.apply and SparseVectors.toArray have different returns when creating with a illegal indices
- Resolved
- links to