Skip to content

Commit

Permalink
lateral -> cross join
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Dec 8, 2024
1 parent 820cb47 commit cf45d8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ def test_flatten_value_cast_as_varchar() -> None:
ID,
F.VALUE ->> '$' AS V
FROM
TEST AS T,
LATERAL UNNEST(input => STR_SPLIT(T.COL, ',')) AS F(SEQ, KEY, PATH, INDEX, VALUE, THIS)
TEST AS T, CROSS JOIN UNNEST(input => STR_SPLIT(T.COL, ',')) AS F(SEQ, KEY, PATH, INDEX, VALUE, THIS)
""")


Expand Down

0 comments on commit cf45d8e

Please sign in to comment.