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

QUADINT_TOZXY and QUADINT_FROMZXY do not detect invalid QUADINT nor ZXY #239

Closed
francois-baptiste opened this issue Apr 15, 2022 · 1 comment

Comments

@francois-baptiste
Copy link
Contributor

SELECT `carto-un.carto.QUADINT_TOZXY`(32)

SELECT`carto-un.carto.QUADINT_FROMZXY`(0,0,1)

return a result even if these QUADINT or ZXY are invalid.

It would be great to protect these functions against this (might have an overall performance impact) or to create IS_VALID_QUADINT and IS_VALID_ZXY functions.

@Jesus89
Copy link
Member

Jesus89 commented Jun 10, 2022

We are going to reframe the strategy around quadint. We will take into account the IS_VALID check for that

@Jesus89 Jesus89 closed this as completed Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants