Skip to content

Commit

Permalink
feat(spanner/spansql): add complete set of math functions (#8246)
Browse files Browse the repository at this point in the history
* feat(spanner/spansql): add complete set of math functions

* feat(spanner/spansql): add complete set of math functions

* feat(spanner/spansql): add complete set of math functions

---------

Co-authored-by: rahul2393 <irahul@google.com>
  • Loading branch information
0michalsokolowski0 and rahul2393 committed Jul 20, 2023
1 parent 96840ab commit d7a238e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions spanner/spansql/keywords.go
Expand Up @@ -166,7 +166,44 @@ var allFuncs = []string{

// Mathematical functions.
"ABS",
"ACOS",
"ACOSH",
"ASIN",
"ASINH",
"ATAN",
"ATAN2",
"ATANH",
"CEIL",
"CEILING",
"COS",
"COSH",
"DIV",
"EXP",
"FLOOR",
"GREATEST",
"IEEE_DIVIDE",
"IS_INF",
"IS_NAN",
"LEAST",
"LN",
"LOG",
"LOG10",
"MOD",
"POW",
"POWER",
"ROUND",
"SAFE_ADD",
"SAFE_DIVIDE",
"SAFE_MULTIPLY",
"SAFE_NEGATE",
"SAFE_SUBTRACT",
"SIGN",
"SIN",
"SINH",
"SQRT",
"TAN",
"TANH",
"TRUNC",

// Hash functions.
"FARM_FINGERPRINT",
Expand Down

0 comments on commit d7a238e

Please sign in to comment.