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

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

Marcelo Vanzin created SPARK-23103:
--------------------------------------

             Summary: 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


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