[
https://issues.apache.org/jira/browse/FLINK-9161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shuyi Chen updated FLINK-9161:
------------------------------
Summary: Support STRUCT syntax to create named STRUCT in SQL (was: Support
AS STRUCT syntax to create named STRUCT in SQL)
> Support STRUCT syntax to create named STRUCT in SQL
> ---------------------------------------------------
>
> Key: FLINK-9161
> URL: https://issues.apache.org/jira/browse/FLINK-9161
> Project: Flink
> Issue Type: New Feature
> Components: Table API & SQL
> Reporter: Shuyi Chen
> Assignee: Shuyi Chen
> Priority: Major
>
> As discussed in [calcite dev mailing
> list|https://mail-archives.apache.org/mod_mbox/calcite-dev/201804.mbox/%3cCAMZk55avGNmp1vXeJwA1B_a8bGyCQ9ahxmE=R=6fklpf7jt...@mail.gmail.com%3e],
> we want add support for adding named structure construction in SQL, e.g.,
> {code:java}
> SELECT STRUCT(a as first_name, b as last_name, STRUCT(c as zip code, d as
> street, e as state) as address) as record FROM example_table
> {code}
> This would require adding necessary change in Calcite first.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)