Skip to content

Commit 7d53a8f

Browse files
SNOW-2500535: Add scalar support for numeric and conditional expression functions. (#3977)
1 parent 4727d26 commit 7d53a8f

File tree

3 files changed

+289
-12
lines changed

3 files changed

+289
-12
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@
2828
- `try_hex_decode_string`
2929
- `unicode`
3030
- `uuid_string`
31+
32+
- Conditional expressions:
33+
- `booland_agg`
34+
- `boolxor_agg`
35+
- `regr_valy`
36+
- `zeroifnull`
37+
38+
- Numeric expressions:
39+
- `cot`
40+
- `mod`
41+
- `pi`
42+
- `square`
43+
- `width_bucket`
3144

3245
#### Improvements
3346

docs/source/snowpark/functions.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ Functions
115115
bitxor_agg
116116
boolor_agg
117117
booland
118+
booland_agg
118119
boolnot
119120
boolor
120121
boolxor
122+
boolxor_agg
121123
build_stage_file_url
122124
builtin
123125
bround
@@ -153,6 +155,7 @@ Functions
153155
count_distinct
154156
covar_pop
155157
covar_samp
158+
cot
156159
create_map
157160
cume_dist
158161
current_account
@@ -356,6 +359,7 @@ Functions
356359
min
357360
min_by
358361
minute
362+
mod
359363
mode
360364
model
361365
monotonically_increasing_id
@@ -389,6 +393,7 @@ Functions
389393
percentile_cont
390394
position
391395
pow
396+
pi
392397
previous_day
393398
prompt
394399
quarter
@@ -409,6 +414,7 @@ Functions
409414
regr_sxy
410415
regr_syy
411416
regr_valx
417+
regr_valy
412418
repeat
413419
replace
414420
right
@@ -439,6 +445,7 @@ Functions
439445
split
440446
sproc
441447
sql_expr
448+
square
442449
sqrt
443450
startswith
444451
stddev
@@ -568,6 +575,7 @@ Functions
568575
vector_inner_product
569576
vector_l2_distance
570577
weekofyear
578+
width_bucket
571579
when
572580
when_matched
573581
when_not_matched
@@ -583,3 +591,4 @@ Functions
583591
xpath_short
584592
xpath_string
585593
year
594+
zeroifnull

0 commit comments

Comments
 (0)