mihaibudiu commented on PR #3502:
URL: https://github.com/apache/calcite/pull/3502#issuecomment-1797082714

   The real tests of whether the design works properly is to allow a lambda 
expression wherever a function call is allowed.
   So you should be allowed to say `SELECT (x -> x + 1)(age) FROM Person` or
   `SELECT  ":" || ((x -> x || x)(SUBSTRING(name, 3, 3))) FROM Person WHERE (x 
-> x > 5)(age)`.
   I think there is limited value to having a lambda expression that only works 
in some very restricted contexts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to