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

ArrayType(_, true) should also accept ArrayType(_, false)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1, 2.0.0
    • ML, SQL
    • None

    Description

      I see CountVectorizer has schema check for ArrayType which has ArrayType(StringType, true).

      ArrayType(String, false) is just a special case of ArrayType(String, true), but it will not pass this type check.

      Attachments

        Issue Links

          Activity

            People

              EarthsonLu Earthson Lu
              EarthsonLu Earthson Lu
              Xiangrui Meng Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: