googleapis / googleapis/google-cloud-go

spanner/spannertest: support LEAST/GREATEST functions

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

Description

We have a unit test where we would really need to be able to use `LEAST` in a query, but we currently get this back from the spannertest.Server:

```
rpc error: code = Unknown desc = Alias, *ast.CallExpr: unsupported CALL function: LEAST
```

This tracks with these functions not being implemented in https://github.com/googleapis/google-cloud-go/blob/53d7fa2217c3bf70f7810657a4f51d2d37186254/spanner/spannertest/funcs.go#L48-L170.

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.