Skip to content

Commit 2aac99f

Browse files
authored
Add array_elem and timestamp_ns functions (#19)
Add array_elem_min, array_elem_max, array_elem_sum, array_elem_avg, now_ns, systimestamp_ns, and rnd_timestamp_ns functions.
1 parent e509cfe commit 2aac99f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/grammar/functions.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ export const functions: string[] = [
1414
"array_build",
1515
"array_count",
1616
"array_cum_sum",
17+
"array_elem_avg",
18+
"array_elem_max",
19+
"array_elem_min",
20+
"array_elem_sum",
1721
"array_max",
1822
"array_min",
1923
"array_position",
@@ -145,6 +149,7 @@ export const functions: string[] = [
145149
"netmask",
146150
"not",
147151
"now",
152+
"now_ns",
148153
"nsum",
149154
"nullif",
150155
"nvl",
@@ -233,6 +238,7 @@ export const functions: string[] = [
233238
"rnd_symbol_weighted",
234239
"rnd_symbol_zipf",
235240
"rnd_timestamp",
241+
"rnd_timestamp_ns",
236242
"rnd_uuid4",
237243
"rnd_varchar",
238244
"round",
@@ -270,6 +276,7 @@ export const functions: string[] = [
270276
"switch",
271277
"sysdate",
272278
"systimestamp",
279+
"systimestamp_ns",
273280
"table_columns",
274281
"table_partitions",
275282
"table_storage",

0 commit comments

Comments
 (0)