Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8159 Improve expression function coverage (Spark 1.5)
  3. SPARK-8407

complex type constructors: struct and named_struct

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None
    • Spark 1.5 release

    Description

      struct(val1, val2, val3, ...)
      Creates a struct with the given field values. Struct field names will be col1, col2, ....

      named_struct(name1, val1, name2, val2, ...)
      Creates a struct with the given field names and values. (As of Hive 0.8.0.)

      Attachments

        Activity

          People

            yijieshen Yijie Shen
            yijieshen Yijie Shen
            Michael Armbrust Michael Armbrust
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: