Mihai Budiu created CALCITE-7720:
------------------------------------
Summary: 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
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)