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

Bring back st_d_within for geographic lookups #10672

Open
olmohake opened this issue Feb 7, 2025 · 1 comment
Open

Bring back st_d_within for geographic lookups #10672

olmohake opened this issue Feb 7, 2025 · 1 comment
Labels
c/v3-ndc-postgres Data connector for PostgreSQL k/enhancement New feature or improve an existing feature

Comments

@olmohake
Copy link

olmohake commented Feb 7, 2025

Component

c/v3-engine
c/v3-ndc-postgres

Is your proposal related to a problem?

In Hasura v2, geographic lookups were easily performed using st_d_within, allowing users to find relevant objects around a given location by providing a point and search radius.

In Hasura v3, only st_within is supported. As a result, performing similar lookups now requires generating the lookup geometry on the client side beforehand.

Describe the solution you'd like

Reimplement st_d_within.

Describe alternatives you've considered

Generating lookup geometries on the client side.

@olmohake olmohake added the k/enhancement New feature or improve an existing feature label Feb 7, 2025
@olmohake olmohake changed the title Bring back st_d_within Bring back st_d_within for geographic lookups Feb 7, 2025
@robertjdominguez
Copy link
Contributor

Thanks, @olmohake — tagging the appropriate team 👍

@robertjdominguez robertjdominguez added the c/v3-ndc-postgres Data connector for PostgreSQL label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/v3-ndc-postgres Data connector for PostgreSQL k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants