Currently code with CASE..WHEN or subqueries in them seem to produce Unshaped nodes.
Case When Example
SELECT name, continent, code, surface_area,
CASE WHEN surface_area > 2000000 THEN 'large'
WHEN surface_area > 350000 THEN 'medium'
ELSE 'small' END AS geosize_group
FROM countries;
Subquery Example
SELECT local_name, subquery.lang_num
FROM countries,
(SELECT code, COUNT(*) AS lang_num
FROM languages
GROUP BY code) subquery
WHERE countries.code = subquery.code;
Currently code with
CASE..WHEN
or subqueries in them seem to produceUnshaped
nodes.Case When Example
Subquery Example
cc @ismayc