Skip to content
Permalink
Browse files
feat(spanner/spansql): add complete set of array functions (#3633)
As with a previous change, this doesn't implement these but permits
correct parsing.

Fixes #3618.
  • Loading branch information
dsymonds committed Jan 28, 2021
1 parent e32162e commit 13d50b93cc8348c54641b594371a96ecdb1bcabc
Showing with 11 additions and 0 deletions.
  1. +11 −0 spanner/spansql/keywords.go
@@ -179,4 +179,15 @@ var allFuncs = []string{
"TO_BASE32", "TO_BASE64", "TO_CODE_POINTS", "TO_HEX",
"TRIM",
"UPPER",

// Array functions.
"ARRAY",
"ARRAY_CONCAT",
"ARRAY_LENGTH",
"ARRAY_TO_STRING",
"GENERATE_ARRAY", "GENERATE_DATE_ARRAY",
"OFFSET", "ORDINAL",
"ARRAY_REVERSE",
"ARRAY_IS_DISTINCT",
"SAFE_OFFSET", "SAFE_ORDINAL",
}

0 comments on commit 13d50b9

Please sign in to comment.