[
https://issues.apache.org/jira/browse/CALCITE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18104856#comment-18104856
]
Mihai Budiu commented on CALCITE-7720:
--------------------------------------
This is another form of the defect fixed by [CALCITE-7677]
> Scalar subquery with ROW ARRAY fails in code generation
> -------------------------------------------------------
>
> Key: CALCITE-7720
> URL: https://issues.apache.org/jira/browse/CALCITE-7720
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Priority: Minor
>
> The following program generates code that Janino cannot compile:
> {code}
> select (select t.arr[1] from (values (0))) as v
> from (select ARRAY[ROW(1, 2)] as arr) as t;
> {code}
> Error:
> {code}
> Error while compiling generated Java code
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)