Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23103

LevelDB store not iterating correctly when indexed value has negative value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      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:

       

      [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
      

        Attachments

          Activity

            People

            • Assignee:
              vanzin Marcelo Vanzin
              Reporter:
              vanzin Marcelo Vanzin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: