Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spansql : can't parse normalize function in golang #9768

Open
geerttouquet opened this issue Apr 15, 2024 · 0 comments
Open

spansql : can't parse normalize function in golang #9768

geerttouquet opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.

Comments

@geerttouquet
Copy link

Client

spansql

Environment

Go Environment

$ go version
go version go1.21.4 windows/386

$ go env

Code

If you want to parse following sql
CREATE TABLE person
(
personId STRING( MAX) NOT NULL,
nickName STRING( MAX),
nickNameSearchTerm2 STRING( MAX) AS (NORMALIZE(nickName,NFD)) STORED,
) PRIMARY KEY(personId);`,

spansql.ParseDDL gives following error
got "(" while expecting ")"

You can't use ,NORMALIZE(nickName,NFD in the function code
other action succeeds well

is it possible to allow NORMALIZE in the expression

@geerttouquet geerttouquet added the triage me I really want to be triaged. label Apr 15, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants