Skip to content

Commit 5c7af03

Browse files
Update using-transform-function-in-snowflake-to-extract-values-from-a-json-array.md
1 parent 0f9c8b6 commit 5c7af03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

using-transform-function-in-snowflake-to-extract-values-from-a-json-array.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ order_id | coupons_applied
3434

3535
### Using the TRANSFORM function with a Lamba expression
3636

37-
We can using the TRANSFORM function to apply a Lambda Fuction to each element in the JSON array to extract the Coupon as following:
37+
We can utilize the TRANSFORM function to apply a Lambda Fuction `promo OBJECT -> promo:"Coupon"` to each element in the JSON array to extract the Coupon as following:
3838

3939
```sql
4040
SELECT
@@ -67,4 +67,4 @@ from orders
6767
group by all
6868
```
6969

70-
How this will be a lot slower compare to using the TRANSFORM function.
70+
However this will be a lot slower compare to using the TRANSFORM function.

0 commit comments

Comments
 (0)