developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
202 stars 21 forks source link

[Custom runtimes] custom layer `pgstac_hash` and `pgstac_hash_count` do not work #134

Open vincentsarago opened 1 year ago

vincentsarago commented 1 year ago

pgstac_hash returns "relation "searches" does not exist" maybe because it's should pgstac.searches instead of searches in https://github.com/developmentseed/eoAPI/blob/62a8f7cbaafa029a056faa5585a9fc45fbc88a27/runtime/eoapi/vector/eoapi/vector/sql/functions.sql#L63

pgstac_hash_count returns "invalid input syntax for type integer: "('-90"" 🤷

cc @bitner

vincentsarago commented 1 year ago

🤔 I can't reproduce the pgstac_hash issue locally 🤷