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: ALTER INDEX statement is not supported. #7286

Closed
toga4 opened this issue Jan 23, 2023 · 0 comments · Fixed by #7287
Closed

spanner/spansql: ALTER INDEX statement is not supported. #7286

toga4 opened this issue Jan 23, 2023 · 0 comments · Fixed by #7287
Assignees
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.

Comments

@toga4
Copy link
Contributor

toga4 commented Jan 23, 2023

Client

Spanner spansql

Environment

Go Playground

Go Environment

Go 1.19

Code

e.g.

package main

import (
	"fmt"

	"cloud.google.com/go/spanner/spansql"
)

func main() {
	fmt.Println(spansql.ParseDDL("ddl", "ALTER INDEX AlbumsByAlbumTitle ADD STORED COLUMN MarketingBudget"))
	fmt.Println(spansql.ParseDDL("ddl", "ALTER INDEX AlbumsByAlbumTitle DROP STORED COLUMN MarketingBudget"))
}

https://go.dev/play/p/uBKDmymN3cD

Expected behavior

Parses

Actual behavior

<nil> ddl:1.0: unknown DDL statement
<nil> ddl:1.0: unknown DDL statement
@toga4 toga4 added the triage me I really want to be triaged. label Jan 23, 2023
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Jan 23, 2023
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

Successfully merging a pull request may close this issue.

2 participants