Skip to content

Commit e40ac0b

Browse files
authored
SNOW-1871755: Support more snowflake built-in functions (#2750)
1 parent 9d430e4 commit e40ac0b

File tree

3 files changed

+515
-0
lines changed

3 files changed

+515
-0
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,33 @@
1414
- `map_keys`
1515
- `nullifzero`
1616
- `snowflake_cortex_sentiment`
17+
- `acosh`
18+
- `asinh`
19+
- `atanh`
20+
- `bit_length`
21+
- `bitmap_bit_position`
22+
- `bitmap_bucket_number`
23+
- `bitmap_construct_agg`
24+
- `cbrt`
25+
- `equal_null`
26+
- `ifnull`
27+
- `localtimestamp`
28+
- `max_by`
29+
- `min_by`
30+
- `nvl`
31+
- `octet_length`
32+
- `position`
33+
- `regr_avgx`
34+
- `regr_avgy`
35+
- `regr_count`
36+
- `regr_intercept`
37+
- `regr_r2`
38+
- `regr_slope`
39+
- `regr_sxx`
40+
- `regr_sxy`
41+
- `regr_syy`
42+
- `try_to_binary`
43+
1744
- Added `Catalog` class to manage snowflake objects. It can be accessed via `Session.catalog`.
1845

1946
#### Improvements

docs/source/snowpark/functions.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Functions
2020

2121
abs
2222
acos
23+
acosh
2324
add_months
2425
any_value
2526
approx_count_distinct
@@ -75,9 +76,15 @@ Functions
7576
asc_nulls_last
7677
ascii
7778
asin
79+
asinh
7880
atan
81+
atanh
7982
atan2
8083
avg
84+
bit_length
85+
bitmap_bit_position
86+
bitmap_bucket_number
87+
bitmap_construct_agg
8188
bitnot
8289
bitshiftleft
8390
bitshiftright
@@ -88,6 +95,7 @@ Functions
8895
call_table_function
8996
call_udf
9097
cast
98+
cbrt
9199
ceil
92100
char
93101
charindex
@@ -151,6 +159,7 @@ Functions
151159
divnull
152160
endswith
153161
equal_nan
162+
equal_null
154163
exp
155164
explode
156165
explode_outer
@@ -171,6 +180,7 @@ Functions
171180
hash
172181
hour
173182
iff
183+
ifnull
174184
in_
175185
initcap
176186
insert
@@ -205,6 +215,7 @@ Functions
205215
lit
206216
ln
207217
locate
218+
localtimestamp
208219
log
209220
lower
210221
lpad
@@ -215,10 +226,12 @@ Functions
215226
map_contains_key
216227
map_keys
217228
max
229+
max_by
218230
md5
219231
mean
220232
median
221233
min
234+
min_by
222235
minute
223236
mode
224237
monotonically_increasing_id
@@ -230,19 +243,22 @@ Functions
230243
not_
231244
ntile
232245
nullifzero
246+
nvl
233247
object_agg
234248
object_construct
235249
object_construct_keep_null
236250
object_delete
237251
object_insert
238252
object_keys
239253
object_pick
254+
octet_length
240255
pandas_udf
241256
pandas_udtf
242257
parse_json
243258
parse_xml
244259
percent_rank
245260
percentile_cont
261+
position
246262
pow
247263
previous_day
248264
quarter
@@ -252,6 +268,15 @@ Functions
252268
regexp_count
253269
regexp_extract
254270
regexp_replace
271+
regr_avgx
272+
regr_avgy
273+
regr_count
274+
regr_intercept
275+
regr_r2
276+
regr_slope
277+
regr_sxx
278+
regr_sxy
279+
regr_syy
255280
repeat
256281
replace
257282
right
@@ -320,6 +345,7 @@ Functions
320345
trim
321346
trunc
322347
try_cast
348+
try_to_binary
323349
typeof
324350
udaf
325351
udf

0 commit comments

Comments
 (0)