Closed SDorgan closed 9 months ago
Client Spanner spansql
Environment Go Playground
Go Environment Go 1.21
Code
package main import ( "fmt" "cloud.google.com/go/spanner/spansql" ) func main() { fmt.Println(spansql.ParseDDL("ddl", "CREATE VIEW myView SQL SECURITY DEFINER AS SELECT u.Name FROM Users u")) }
https://go.dev/play/p/x_tUX5Iv8-a
Expected behavior
Parses
Actual behavior
<nil> ddl:1.32: got "DEFINER" while expecting "INVOKER"
Documentation The security type can be either INVOKER or DEFINER
Hi there again, sorry to bother. Is there an ETA on the fix? I see the PR's been open for a few months now
Client Spanner spansql
Environment Go Playground
Go Environment Go 1.21
Code
https://go.dev/play/p/x_tUX5Iv8-a
Expected behavior
Parses
Actual behavior
Documentation The security type can be either INVOKER or DEFINER