[ 
https://issues.apache.org/jira/browse/CALCITE-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145367#comment-18145367
 ] 

Mihai Budiu commented on CALCITE-7941:
--------------------------------------

Example rejected query:
create table t(k int, a int[]);insert into t values (1, [1]), (2, [2]);select k 
from t group by k         order by list_bool_or(list_transform([1, 2], lambda 
e: e = k)) desc, k;

> Lambda expressions in ORDER BY positions do not support column references
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-7941
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7941
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>
> This is a left-over from CALCITE-7933



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to