-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-31369][SQL][DOCS] Documentation for JSON Functions #28170
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
Conversation
Can one of the admins verify this patch? |
@maropu @huaxingao |
Hm, I think we don't need this - they will be automatically documented by |
Actually @maropu asked to add this. If it is not required, i will close it. |
I asked the same question in #28099 (comment).
Probably, I think this is an issue of maintainance cost vs document quality. |
When I did #28157, I actually changed the built-in function page to the following I think aggregation function and window function are worthwhile to document separately. We need to document Window function for sure because in query section, we have @gatorsmile WDYT? |
I actually discussed this with @gatorsmile and @cloud-fan offline. I think we should basically reuse We can add some more tags or fields into Also, we can remove the documentation when it's wrapped spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala Lines 310 to 325 in 6704103
Also, the examples in |
@HyukjinKwon @maropu |
I think somebody can do the base job to add a field into Then we could add the documentations accordingly in this PR, #28157 and #28120. @maropu, @huaxingao, @kevinyu98, I am very sorry I happened to check the ongoing on efforts in function documentation late, and raise another way late like this. Could we maybe try a way of reusing https://spark.apache.org/docs/latest/api/sql/index.html? |
nvm, @HyukjinKwon. The proposed approach looks the best to me. |
@iRakson Yea, closing this looks fine to me. Anyway, thanks for work. |
Yes, I am good with any target version. |
### What changes were proposed in this pull request? This PR intends to drop the built-in function pages from SQL references. We've already had a complete list of built-in functions in the API documents. See related discussions for more details: #28170 (comment) ### Why are the changes needed? For better SQL documents. ### Does this PR introduce any user-facing change?  ### How was this patch tested? Manually checked. Closes #28203 from maropu/DropBuiltinFunctionDocs. Authored-by: Takeshi Yamamuro <yamamuro@apache.org> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
### What changes were proposed in this pull request? This PR intends to drop the built-in function pages from SQL references. We've already had a complete list of built-in functions in the API documents. See related discussions for more details: #28170 (comment) ### Why are the changes needed? For better SQL documents. ### Does this PR introduce any user-facing change?  ### How was this patch tested? Manually checked. Closes #28203 from maropu/DropBuiltinFunctionDocs. Authored-by: Takeshi Yamamuro <yamamuro@apache.org> Signed-off-by: HyukjinKwon <gurwls223@apache.org> (cherry picked from commit 853c6c9) Signed-off-by: HyukjinKwon <gurwls223@apache.org>
### What changes were proposed in this pull request? This PR intends to drop the built-in function pages from SQL references. We've already had a complete list of built-in functions in the API documents. See related discussions for more details: apache#28170 (comment) ### Why are the changes needed? For better SQL documents. ### Does this PR introduce any user-facing change?  ### How was this patch tested? Manually checked. Closes apache#28203 from maropu/DropBuiltinFunctionDocs. Authored-by: Takeshi Yamamuro <yamamuro@apache.org> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
What changes were proposed in this pull request?
Documentation for JSON functions
Why are the changes needed?
To complete the SQL references.
Does this PR introduce any user-facing change?
Yes. Now users can access JSON functions doc.
How was this patch tested?
Manually