You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH file AS (
SELECT1AS file_id, ARRAY<STRING>["r", "w"] AS modes
UNION ALLSELECT2, ARRAY<STRING>["w"]
)
SELECT id,
(SELECT mode FROM UNNEST(modes) AS mode WHERE mode ='w') IS NOT NULLAS write_mode,
(SELECT mode FROM UNNEST(modes) AS mode WHERE mode ='r') IS NOT NULLAS read_mode
FROM UNNEST([1, 2, 3]) id
LEFT JOIN file onfile.file_id= id
Expected
Actual
The text was updated successfully, but these errors were encountered: