You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go run ./tools/parse --mode query 'SELECT TO_JSON(STRUCT(1 AS a, 'abc' AS b))'
2024/10/19 17:34:25 syntax error: :1:25: expected token: ), but: AS
1: SELECT TO_JSON(STRUCT(1 AS a, abc AS b))
^~
exit status 1
https://cloud.google.com/spanner/docs/reference/standard-sql/data-types#typeless_struct_syntax
Related discussions
StructLiteral
toTypedStructLiteral
andTypelessStructLiteral
: Refactor SQL() methods #173 (comment)The text was updated successfully, but these errors were encountered: