Add missing NULLIF (#1625)

In some cases that empty aggregated brunnel attributes was coming through in the tiles in the transportation_name layer.
This commit is contained in:
Brian Sperlongano
2024-01-30 03:25:58 -05:00
committed by GitHub
parent 6d1cb63d8e
commit 5fd186a311

View File

@@ -47,7 +47,7 @@ SELECT geometry,
THEN highway THEN highway
ELSE subclass ELSE subclass
END AS subclass, END AS subclass,
brunnel, NULLIF(brunnel, '') AS brunnel,
NULLIF(layer, 0) AS layer, NULLIF(layer, 0) AS layer,
"level", "level",
CASE WHEN indoor = TRUE THEN 1 END AS indoor CASE WHEN indoor = TRUE THEN 1 END AS indoor