You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/07/02 19:13:04 UTC

[jira] [Resolved] (SPARK-8407) complex type constructors: struct and named_struct

     [ https://issues.apache.org/jira/browse/SPARK-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust resolved SPARK-8407.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 6874
[https://github.com/apache/spark/pull/6874]

> complex type constructors: struct and named_struct
> --------------------------------------------------
>
>                 Key: SPARK-8407
>                 URL: https://issues.apache.org/jira/browse/SPARK-8407
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yijie Shen
>            Assignee: Yijie Shen
>             Fix For: 1.5.0
>
>
> 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.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org