Skip to content

BUG: v1.8.0 breaks queries with Postgis functions #1004

Closed

Description

@friend0

I noticed some issues with generation after inadvertently upgrading to v1.8.0 from v1.7.0. We use a number of Postgis function in our queries, and they had otherwise worked fine, so I was surprised to see these messages about missing functions

/src/containers/XXX/sql/query/XXX.sql:1:1: function not found: st_dwithin
/src/containers/XXX/sql/query/XXX.sql:26:1: function not found: st_intersects
/src/containers/XXX/sql/query/XXX.sql:52:1: function not found: st_intersects
/src/containers/XXX/sql/query/XXX.sql:76:1: function not found: st_intersects
.
.
.

Are there missing configs I need to update for these? Rolling back to v1.7.0 seems to have resolved the issues. I'm on ubuntu.
Let me know if there are more details I can provide

Activity

  1. polastre commented on May 6, 2021

    @polastre

    I have the same problem with ST_* functions in v1.8.0. Rolling back to v1.7.0 fixes for me too.

  2. kyleconroy commented on May 15, 2021

    @kyleconroy
    Collaborator

    @friend0 Can you provide a complete example of your failing queries?

  3. kyleconroy commented on May 16, 2021

    @kyleconroy
    Collaborator

    This appears to a be a bug with the implementation of #964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions