[
https://issues.apache.org/jira/browse/CALCITE-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu updated CALCITE-7718:
---------------------------------
Summary: Lambda capturing ROW field crashes at compilation with assertion
failure (was: Lambda applied to sub-query result crashes at compilation with
assertion failure)
> Lambda capturing ROW field crashes at compilation with assertion failure
> ------------------------------------------------------------------------
>
> Key: CALCITE-7718
> URL: https://issues.apache.org/jira/browse/CALCITE-7718
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
>
> {code}
> select "EXISTS"(array(1, 2), x -> x = t.r."EXPR$0")
> from (select ROW(1, 2) as r) as t;
> {code}
> causes the following assertion failure:
> {code}
> java.lang.AssertionError: in expression EXISTS($t3, (X) -> =(X, $0.EXPR$0)),
> field reference $0 has inconsistent type
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)