WITH meta AS (
SELECT OBS_GetMeta(
ST_SetSRID(ST_Extent(the_geom), 4326),
'[
{
"numer_id":"es.ine.pop_0_4_male",
"normalization":"area"
},
{
"numer_id":"es.ine.pop_5_10_male",
"normalization":"area"
},
....
es.ine.pop_5_10_male doesn't actually exist as a column, but OBS_GetMeta will simply remove that column from the result. Shouldn't it raise an error instead?
Imagine a query such as this one:
es.ine.pop_5_10_male
doesn't actually exist as a column, butOBS_GetMeta
will simply remove that column from the result. Shouldn't it raise an error instead?