DataGrip 2020.3.2 runs Presto SQL queries with a single statement
but won't run queries with multiple CTEs such as
cte_1 AS (
cte_2 AS (
cte_3 AS (
This used to work perfectly in older versions. Some colleagues mentioned it works until 2020.1.5 then it breaks.
I have "Generic SQL" as the selected dialect but the queries are run against a Presto cluster.
The query execution settings are shown below