[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-30 Thread Apache Spark (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647490#comment-14647490 ] Apache Spark commented on SPARK-9277: - User 'srowen' has created a pull request for th

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-30 Thread Manoj Kumar (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647380#comment-14647380 ] Manoj Kumar commented on SPARK-9277: I will not have access to a development environme

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-29 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645629#comment-14645629 ] Sean Owen commented on SPARK-9277: -- [~MechCoder] Are you working on this? > SparseVector

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-28 Thread Joseph K. Bradley (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644871#comment-14644871 ] Joseph K. Bradley commented on SPARK-9277: -- I think a constant-time check is OK,

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-26 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641878#comment-14641878 ] Sean Owen commented on SPARK-9277: -- Yes, it's clear this doesn't catch all cases. The cos

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-25 Thread Andrey Vykhodtsev (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641787#comment-14641787 ] Andrey Vykhodtsev commented on SPARK-9277: -- btw here is the case that shows that

[jira] [Commented] (SPARK-9277) SparseVector constructor must throw an error when declared number of elements less than array length

2015-07-25 Thread Andrey Vykhodtsev (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-9277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641555#comment-14641555 ] Andrey Vykhodtsev commented on SPARK-9277: -- Hi Joseph, will it be too expensive