ueshin commented on code in PR #41948: URL: https://github.com/apache/spark/pull/41948#discussion_r1267274406
########## python/pyspark/sql/functions.py: ########## @@ -50,6 +50,7 @@ # Keep UserDefinedFunction import for backwards compatible import; moved in SPARK-22409 from pyspark.sql.udf import UserDefinedFunction, _create_py_udf # noqa: F401 from pyspark.sql.udtf import UserDefinedTableFunction, _create_py_udtf +from pyspark.sql.udtf import AnalyzeArgument, AnalyzeResult # noqa: F401 Review Comment: Sure, updated. For F401, yes, by putting them here, users can import these symbols directly from `functions` pacakge. ```py from pyspark.sql.functions import udtf, AnalyzeArgument, AnalyzeResult ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
