[ 
https://issues.apache.org/jira/browse/SPARK-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591424#comment-14591424
 ] 

Apache Spark commented on SPARK-8407:
-------------------------------------

User 'yijieshen' has created a pull request for this issue:
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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to