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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1, 2.0.0
    • Component/s: ML, SQL
    • Labels:
      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

              • Assignee:
                EarthsonLu Earthson Lu
                Reporter:
                EarthsonLu Earthson Lu
                Shepherd:
                Xiangrui Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: