Skip to content

Commit

Permalink
Fix functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lninobrijaldo committed Oct 3, 2024
1 parent 732b18f commit a23d90d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/snowflake/snowpark/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5377,11 +5377,13 @@ def array_remove(array: ColumnOrName, element: ColumnOrLiteral) -> Column:
-------------
<BLANKLINE>
>>> df.select(array_remove(array_remove(array_remove(df.data, 1), 3.1), lit('2').cast(VariantType())).alias("objects")).show()
>>> df.select(array_remove(array_remove(df.data, 1), lit('2').cast(VariantType())).alias("objects")).show()
-------------
|"OBJECTS" |
-------------
|[] |
|[ |
| 3.1 |
|] |
-------------
<BLANKLINE>
Expand Down

0 comments on commit a23d90d

Please sign in to comment.