HyukjinKwon commented on code in PR #47244:
URL: https://github.com/apache/spark/pull/47244#discussion_r1673382372
##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -233,6 +233,7 @@ def lit(col: Any) -> Column:
def col(col: str) -> Column:
"""
Returns a :class:`~pyspark.sql.Column` based on the given column name.
+ An alias of :func:`column`.
Review Comment:
If you'd like to do this, you should better create the dedicated docstring
for `column`, and say `column` is an alias.
--
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]