You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/09/11 23:00:01 UTC
[jira] [Assigned] (SPARK-36685) Fix wrong assert messages
[ https://issues.apache.org/jira/browse/SPARK-36685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun reassigned SPARK-36685:
-------------------------------------
Assignee: dgd_contributor
> Fix wrong assert messages
> -------------------------
>
> Key: SPARK-36685
> URL: https://issues.apache.org/jira/browse/SPARK-36685
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.4.8, 3.0.3, 3.2.0, 3.1.3, 3.3.0
> Reporter: Sanket Reddy
> Assignee: dgd_contributor
> Priority: Trivial
> Fix For: 3.2.0, 3.1.3, 3.0.4
>
>
> {code:scala}
> require(numCols == mat.numCols, "The number of rows of the matrices in this sequence, " + "don't match!")
> {code}
> Shall the error message be "The number of columns..."?
> This issue also appears in the open source spark:
> [https://github.com/apache/spark/blob/master/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Matrices.scala#L1266]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org