diff --git a/src/pg/sql/45_observatory_mvt.sql b/src/pg/sql/45_observatory_mvt.sql index 887531c..2d881d4 100644 --- a/src/pg/sql/45_observatory_mvt.sql +++ b/src/pg/sql/45_observatory_mvt.sql @@ -267,11 +267,11 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_DecodeCategory(category TEXT) RETURNS TEXT AS $$ categories = { - 'NEP': 'non_eating_places', - 'EP': 'eating_places', + 'NEP': 'non eating places', + 'EP': 'eating places', 'APP': 'apparel', - 'SB': 'small_business', - 'TR': 'total_retail', + 'SB': 'small business', + 'TR': 'total retail', } return categories.get(category) $$ LANGUAGE plpythonu;