Skip to content

Commit

Permalink
feat(spanner/spansql): add complete set of array functions (#3633)
Browse files Browse the repository at this point in the history
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 13d50b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spanner/spansql/keywords.go
Expand Up @@ -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.