Mihai Budiu created CALCITE-7718:
------------------------------------

             Summary: Query with lambda 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


{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)

Reply via email to