Skip to content

Commit d7a238e

Browse files
feat(spanner/spansql): add complete set of math functions (#8246)
* 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 <[email protected]>
1 parent 96840ab commit d7a238e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

spanner/spansql/keywords.go

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,44 @@ var allFuncs = []string{
166166

167167
// Mathematical functions.
168168
"ABS",
169+
"ACOS",
170+
"ACOSH",
171+
"ASIN",
172+
"ASINH",
173+
"ATAN",
174+
"ATAN2",
175+
"ATANH",
176+
"CEIL",
177+
"CEILING",
178+
"COS",
179+
"COSH",
180+
"DIV",
181+
"EXP",
182+
"FLOOR",
183+
"GREATEST",
184+
"IEEE_DIVIDE",
185+
"IS_INF",
186+
"IS_NAN",
187+
"LEAST",
188+
"LN",
189+
"LOG",
190+
"LOG10",
169191
"MOD",
192+
"POW",
193+
"POWER",
194+
"ROUND",
195+
"SAFE_ADD",
196+
"SAFE_DIVIDE",
197+
"SAFE_MULTIPLY",
198+
"SAFE_NEGATE",
199+
"SAFE_SUBTRACT",
200+
"SIGN",
201+
"SIN",
202+
"SINH",
203+
"SQRT",
204+
"TAN",
205+
"TANH",
206+
"TRUNC",
170207

171208
// Hash functions.
172209
"FARM_FINGERPRINT",

0 commit comments

Comments
 (0)