[
https://issues.apache.org/jira/browse/SPARK-23103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Imran Rashid resolved SPARK-23103.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
Issue resolved by pull request 20284
[https://github.com/apache/spark/pull/20284]
> 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
> Assignee: Marcelo Vanzin
> Priority: Minor
> Fix For: 2.3.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]