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

Disallow default value None in na.replace/replace when 'to_replace' is not a dictionary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.3.0
    • None
    • PySpark, SQL

    Description

      We happened to set None as a default value via SPARK-19454 which is quite weird.
      Looks we better only do this when the input is dictionary.
      Please see https://github.com/apache/spark/pull/16793#issuecomment-362684399

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hyukjin.kwon Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: