[GitHub] [spark] zhengruifeng commented on a diff in pull request #43011: [WIP][SPARK-45232][DOC] Add missing function groups to SQL references

2023-09-20 Thread via GitHub


zhengruifeng commented on code in PR #43011:
URL: https://github.com/apache/spark/pull/43011#discussion_r1331213799


##
sql/gen-sql-functions-docs.py:
##
@@ -34,6 +34,8 @@
 "math_funcs", "conditional_funcs", "generator_funcs",
 "predicate_funcs", "string_funcs", "misc_funcs",
 "bitwise_funcs", "conversion_funcs", "csv_funcs",
+"xml_funcs", "lambda_funcs", "collection_funcs",
+"url_funcs", "hash_funcs", "struct_funcs",

Review Comment:
   check against
   
https://github.com/apache/spark/blob/37ab190dc5bfa59b4e06af9551c35ab179a05733/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java#L43-L48
   
   two difference:
   1, `table_funcs`: not support in `gen-sql-functions-docs.py`;
   2, `binary_funcs`: we don't have function using this group;



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] zhengruifeng commented on a diff in pull request #43011: [WIP][SPARK-45232][DOC] Add missing function groups to SQL references

2023-09-20 Thread via GitHub


zhengruifeng commented on code in PR #43011:
URL: https://github.com/apache/spark/pull/43011#discussion_r1331200011


##
sql/gen-sql-functions-docs.py:
##
@@ -34,6 +34,8 @@
 "math_funcs", "conditional_funcs", "generator_funcs",
 "predicate_funcs", "string_funcs", "misc_funcs",
 "bitwise_funcs", "conversion_funcs", "csv_funcs",
+"xml_funcs", "lambda_funcs", "collection_funcs",
+"url_funcs", "hash_funcs",

Review Comment:
   manually check with
   ```
   ag --scala 'group = \"' sql
   ```
   
   all groups but `table_funcs` should be here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] zhengruifeng commented on a diff in pull request #43011: [WIP][SPARK-45232][DOC] Add missing function groups to SQL references

2023-09-20 Thread via GitHub


zhengruifeng commented on code in PR #43011:
URL: https://github.com/apache/spark/pull/43011#discussion_r1331213799


##
sql/gen-sql-functions-docs.py:
##
@@ -34,6 +34,8 @@
 "math_funcs", "conditional_funcs", "generator_funcs",
 "predicate_funcs", "string_funcs", "misc_funcs",
 "bitwise_funcs", "conversion_funcs", "csv_funcs",
+"xml_funcs", "lambda_funcs", "collection_funcs",
+"url_funcs", "hash_funcs", "struct_funcs",

Review Comment:
   check against
   
https://github.com/apache/spark/blob/37ab190dc5bfa59b4e06af9551c35ab179a05733/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java#L43-L48
   
   two difference:
   1, `table_funcs`: not support in `gen-sql-functions-docs.py`;
   2, `binary_funcs`: I can not find any function using this group;



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org