-
Notifications
You must be signed in to change notification settings - Fork 1.5k
spanner/spansql: ALTER INDEX statement is not supported. #7286
Copy link
Copy link
Closed
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.triage meI really want to be triaged.I really want to be triaged.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.triage meI really want to be triaged.I really want to be triaged.