spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-13227) Risky apply() in OpenHashMap
Date Sun, 07 Feb 2016 07:03:39 GMT

     [ https://issues.apache.org/jira/browse/SPARK-13227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-13227:
------------------------------------

    Assignee: Apache Spark

> Risky apply() in OpenHashMap
> ----------------------------
>
>                 Key: SPARK-13227
>                 URL: https://issues.apache.org/jira/browse/SPARK-13227
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.0
>            Reporter: Nan Zhu
>            Assignee: Apache Spark
>            Priority: Minor
>
> It might confuse the future developers when they use OpenHashMap.apply() with a numeric
value type.
> null.asInstance[Int], null.asInstance[Long], null.asInstace[Float] and null.asInstance[Double]
will return 0/0.0/0L, which might confuse the developer if the value set contains 0/0.0/0L
with an existing key 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message