googleapis / googleapis/google-cloud-go

spanner: support parsing lambda expressions

Open
#10,168 0 comments 0 reactions 1 assignee Claimed by @harshachinta View on GitHub
api: spanner priority: p3 triage me
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

**Is your feature request related to a problem? Please describe.**
While working on PR [10079](https://github.com/googleapis/google-cloud-go/pull/10079) I noticed that `ARRAY_FILTER` takes a lambda expression as an argument. The parser doesn't support [lambda expressions](https://cloud.google.com/spanner/docs/reference/standard-sql/functions-reference#lambdas).

**Describe the solution you'd like**
Parser should be able to parse a function expression like `ARRAY_FILTER([1 ,2, 3], e -> e > 1)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.