GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-emulator

Named argument `dialect` does not exist in signature SEARCH

Open
#304 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
334
Forks
77
Avg merge
8m
Merged PRs (30d)
2

Description

Specifying dialect argument in SEARCH function with spanner emulator crash.

For instance:

`SEARCH(S.textFulltextTokens, @query, dialect=>"words_phrase")`

Gives

```
Caused by: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: No matching signature for function SPANNER:SEARCH

Argument types: TOKENLIST, STRING, dialect => STRING
Signature: SEARCH([tokens=>]TOKENLIST, [query=>]STRING, [enhance_query => BOOL], [language_tag => STRING])
Named argument `dialect` does not exist in signature [at 10:7]
AND SEARCH(S.textFulltextTokens, @query, dialect=>"words_phrase")
^
```

Looking at the Signature from the error, dialect argument is not listed.

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.