We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We use the GoLang Spanner client to manage migrations of our Spanner DDL. Spanner supports ARRAY for Vector Search which is half the byte cost of ARRAY. We'd like to use a FLOAT32 but https://github.com/googleapis/google-cloud-go/blob/main/spanner/spansql/parser.go#L3202 does not support parsing ARRAY as valid DDL.
Easy test, this works on spanner but not with spansql.ParseDDL
CREATE TABLE vectorTest ( id STRING(MAX), vector ARRAY<FLOAT32>, ) PRIMARY KEY (id);
The text was updated successfully, but these errors were encountered:
harshachinta
No branches or pull requests
Client
Spanner
Expected vs actual behavior
We use the GoLang Spanner client to manage migrations of our Spanner DDL.
Spanner supports ARRAY for Vector Search which is half the byte cost of ARRAY.
We'd like to use a FLOAT32 but https://github.com/googleapis/google-cloud-go/blob/main/spanner/spansql/parser.go#L3202 does not support parsing ARRAY as valid DDL.
Additional context
Easy test, this works on spanner but not with spansql.ParseDDL
The text was updated successfully, but these errors were encountered: