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

StringIndexer should handle null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.0
    • None
    • ML
    • None

    Description

      StringIndexer currently fails with a NullPointerException when indexing a column containing {{null}}s. It should instead index all {{null}}s into some sentinel value (say -1).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fliang Feynman Liang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: