You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Imran Rashid (JIRA)" <ji...@apache.org> on 2018/01/17 20:08:00 UTC

[jira] [Comment Edited] (SPARK-23103) LevelDB store not iterating correctly when indexed value has negative value

    [ https://issues.apache.org/jira/browse/SPARK-23103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329367#comment-16329367 ] 

Imran Rashid edited comment on SPARK-23103 at 1/17/18 8:07 PM:
---------------------------------------------------------------

-[~vanzin] is this really minor, not a blocker for 2.3?  Or you think its doesn't matter since nothing we care about for sorting in SHS ever has negative values?-

EDIT:  argh I'm sorry, I should have actually read your description first


was (Author: irashid):
[~vanzin] is this really minor, not a blocker for 2.3?  Or you think its doesn't matter since nothing we care about for sorting in SHS ever has negative values?

> LevelDB store not iterating correctly when indexed value has negative value
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-23103
>                 URL: https://issues.apache.org/jira/browse/SPARK-23103
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Marcelo Vanzin
>            Priority: Minor
>
> Marking as minor since I don't believe we currently have anything that needs to store negative values in indexed fields. But I wrote a unit test and got:
>  
> {noformat}
> [error] Test org.apache.spark.util.kvstore.LevelDBSuite.testNegativeIndexValues failed: java.lang.AssertionError: expected:<[-50, 0, 50]> but was:<[[0, -50, 50]]>, took 0.025 sec
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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