79694403

Date: 2025-07-08 14:33:09
Score: 1
Natty:
Report link

The canonical solution for this is now on the Snowflake community. - Replace the implicit join of a comma explicitly with JOIN

https://community.snowflake.com/s/article/Lateral-View-Join-With-Other-Tables-Fails-with-Incident

SELECT * FROM 
TEST T
,  -- replace this
   TABLE(FLATTEN(T.A)) F
LEFT JOIN
(
  SELECT 1 AS B
) A
ON F.VALUE=A.B;



SELECT * FROM 
TEST T 
 JOIN -- With JOIN keyword
   TABLE(FLATTEN(T.A)) F
LEFT JOIN
(
  SELECT 1 AS B
) A
ON F.VALUE=A.B;
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Secret squirrel