You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/05/13 23:55:03 UTC
[jira] [Resolved] (BEAM-9929) UNNEST(array_column)
[ https://issues.apache.org/jira/browse/BEAM-9929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Wang resolved BEAM-9929.
----------------------------
Fix Version/s: Not applicable
Resolution: Fixed
> UNNEST(array_column)
> --------------------
>
> Key: BEAM-9929
> URL: https://issues.apache.org/jira/browse/BEAM-9929
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql-zetasql
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {code:sql}
> select p from table_with_array_column, UNNEST(table_with_array_column.array_col) as p;
> {code}
> the schema of table_with_array_column:
> ||id_col||array_col||
> |1|[10, 11, 12]|
> expected output:
> ||Heading 1||
> |10|
> |11|
> |12|
--
This message was sent by Atlassian Jira
(v8.3.4#803005)