[
https://issues.apache.org/jira/browse/CALCITE-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu reassigned CALCITE-7721:
------------------------------------
Assignee: Mihai Budiu
> CAST of a ROW ARRAY element raises NullPointerException
> -------------------------------------------------------
>
> Key: CALCITE-7721
> URL: https://issues.apache.org/jira/browse/CALCITE-7721
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
>
> The following query throws an exception:
> {code:java}
> select cast(t.arr[1] as row(x integer, y integer)) as v
> from (select ARRAY[ROW(1, 2)] as arr) as t;{code}
> This is in the Enumerable code generation layer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)