-
Notifications
You must be signed in to change notification settings - Fork 43
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
Support geometry collection in Quadint polyfill #150
Support geometry collection in Quadint polyfill #150
Conversation
This pull request has been linked to Clubhouse Story #173145: ST_ASQUADINT_POLYFILL not supporting GEOMETRY COLLECTIONS. |
Made tests in SF use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Deployed in project |
I've tested this in staging and found the following error: SELECT quadkey.ST_ASQUADINT_POLYFILL(geom,16) FROM `cartobq.testtables.polygons_800k` LIMIT 1000
-- Error: NULL argument passed to UDF at UDF$1(STRING, INT64) line 3, columns 8-9 This is because the dataset contains |
We are returning this Error in purpose, I remember we talked about that months ago but it can be removed for sure, and replace it by an empty array. We should take the same approach in other functions then TOPARENT, TOCHILDREN... |
The NULL issue is related with #148. I thought Bigquery's Safe Prefix was also working with UDFs. Should we request that? If it was supported all the functions should return Error by default. |
OK then. We can merge it as it is and create a ticket in CH to update this behavior in all the functions if required and possible. |
But remember to update the changelog first |
Project |
No description provided.