-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Add docs for polygon functions #49512
Conversation
This is an automated comment for commit 9f349e2 with description of existing statuses. It's updated for the latest CI running
|
Thanks so much @nikitamikhaylov. I will go back to the tests and add the rest of the examples and publish this, then add the docs to the source so that they can be maintained there and we have the same info in system.functions and in the published docs. |
@nikitamikhaylov I need more help, please. Can you teach me how to read the code and determine the input params for polygonAreaSpherical()? It looks like several points and an int. |
Oh, there is no easy way to determine the input params. From this line ClickHouse/src/Functions/polygonArea.cpp Line 52 in c5b5214
Array(Array(Tuple(Float64, Float64)))
|
Thanks, I must have been losing my mind; when I was looking at the test, I could have sworn I saw a polygon and a single tuple as args, and I was trying to figure out why the extra tuple/point was needed. Thanks again for your help! |
Some cheat sheet: Point is |
Add docs for PR #19257
closes #35341
Changelog category (leave one):
@nikitamikhaylov can you help with the descriptions for these functions? I am having a problem with the spherical functions, I do not understand how they work.