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

LevelDB store not iterating correctly when indexed value has negative value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • Spark Core
    • 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

            vanzin Marcelo Masiero Vanzin
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: