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
In [2]: fromsqlglotimportparse_oneIn [3]: parse_one(""" ...: WITH cte AS ( ...: SELECT ...: DISTINCT id, ...: case ...: when type = 'some_type' and name = 'Some Name' then timestamp ...: end as ts ...: FROM some_table ...: WHERE timestamp::date >= '2022' ...: ) ...: SELECT * FROM cte ...: """)
Activity
tobymao commentedon Mar 8, 2023
fixed