Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
friend0 opened this issue May 4, 2021 · 3 comments · Fixed by #1017
Closed

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

friend0 opened this issue May 4, 2021 · 3 comments · Fixed by #1017

Comments

@friend0
Copy link

friend0 commented May 4, 2021

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

@polastre
Copy link

polastre commented May 6, 2021

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

@kyleconroy
Copy link
Collaborator

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

@kyleconroy
Copy link
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants