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

Support processing array and map type using script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.2.0
    • None
    • SQL

    Description

      Currently, It is not supported to use script(e.g. python) to process array type or map type, it will complain with below message:
      org.apache.spark.sql.catalyst.expressions.UnsafeArrayData cannot be cast to [Ljava.lang.Object
      org.apache.spark.sql.catalyst.expressions.UnsafeMapData cannot be cast to java.util.Map
      Could we support it?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jinxing6042@126.com Jin Xing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: