Add missing NULLIF (#1625)

In some cases that empty aggregated brunnel attributes was coming through in the tiles in the transportation_name layer.
pull/1626/head
Brian Sperlongano 2024-01-30 03:25:58 -05:00 zatwierdzone przez GitHub
rodzic 6d1cb63d8e
commit 5fd186a311
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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