You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ritesh (Jira)" <ji...@apache.org> on 2020/01/20 15:50:00 UTC
[jira] [Comment Edited] (CALCITE-3679) Allow lambda expressions in
SQL queries
[ https://issues.apache.org/jira/browse/CALCITE-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019561#comment-17019561 ]
Ritesh edited comment on CALCITE-3679 at 1/20/20 3:49 PM:
----------------------------------------------------------
Lambda expressions POC is mostly completed, Also, Able to resolve lambda parameters in expression, But still unable to resolve parent scope variables in expression. Any pointers would be helpful :)
Working example
{code:java}
map_filter(map[1, 2, 5, 4], (a,b)->a>b)
{code}
was (Author: ritesh.kapoor):
Lambda expressions POC is mostly completed, Able to resolve lambda parameters in expression, But still unable to resolve parent scope variables in expression. Any pointers would be helpful :)
> Allow lambda expressions in SQL queries
> ---------------------------------------
>
> Key: CALCITE-3679
> URL: https://issues.apache.org/jira/browse/CALCITE-3679
> Project: Calcite
> Issue Type: New Feature
> Reporter: Ritesh
> Assignee: Ritesh
> Priority: Major
> Labels: pull-request-available
> Attachments: [CALCITE-3679]_Basic_implementation.patch
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> [https://teradata.github.io/presto/docs/0.167-t/functions/lambda.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)