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

PySpark DenseVector, SparseVector should override __eq__ and __hash__

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • ML, PySpark
    • None

    Description

      See SPARK-9750.
      PySpark DenseVector and SparseVector do not override the equality operator properly. They should use semantics, not representation, for comparison. (This is what Scala currently does.)

      Attachments

        Issue Links

          Activity

            People

              yanboliang Yanbo Liang
              josephkb Joseph K. Bradley
              Xiangrui Meng Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: