You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yijie Shen (JIRA)" <ji...@apache.org> on 2015/06/17 10:24:00 UTC
[jira] [Updated] (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 ]
Yijie Shen updated SPARK-8407:
------------------------------
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.)
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org