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

spanner: spansql.ParseDLL error by parsing text search features in cloudspanner #11466

Open
geerttouquet opened this issue Jan 17, 2025 · 0 comments · May be fixed by #11522
Open

spanner: spansql.ParseDLL error by parsing text search features in cloudspanner #11466

geerttouquet opened this issue Jan 17, 2025 · 0 comments · May be fixed by #11522
Assignees
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.

Comments

@geerttouquet
Copy link

Client

go

Environment

Code and Dependencies

try to parse example inhttps://cloud.google.com/spanner/docs/full-text-search/tokenization, gives an error in
spansql.ParseDLL

example
CREATE TABLE Albums (
AlbumId STRING(MAX) NOT NULL,
AlbumTitle STRING(MAX),
Rating FLOAT64,
AlbumTitle_Tokens TOKENLIST AS (TOKENIZE_FULLTEXT(AlbumTitle)) HIDDEN,
Rating_Tokens TOKENLIST AS (TOKENIZE_NUMBER(Rating)) HIDDEN
) PRIMARY KEY(AlbumId);

spansql.ParseDDL("filename", test.sql)

gives error : filename:5: got "(", want ")" or ","

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
2 participants