Calculation referencing a resource in a different schema
I'm attempting to do a ST_Union on a related resource, but that resource is stored in a different schema
It seems that Ash is not adding the schema (which is defined on the resource) to the query i.e:
Is there a way to define the schema that I'm missing, or is this a bug?
5 Replies
Sounds like a bug
Is there multitenancy at play here
nope
just the gis datasets sitting in a 'gis' schema - because they are created by some weird
shp2pgsql
tool and I'd like to keep them separateYeah then it's a bug. Please open an issue I'll look in the morning
is there a table name wrong somewhere?
lgas
vs lga
nope
lga is just the council polygon dataset from Australian gov @Rebecca Le
still ridiculous that you can't get postcode data without paying Auspost an arm and a leg
I'll try get a repro in that commit you made Zach
https://github.com/ash-project/ash_postgres/pull/563