[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org