Kimahriman commented on a change in pull request #29699:
URL: https://github.com/apache/spark/pull/29699#discussion_r487868842
##########
File path: python/pyspark/sql/column.py
##########
@@ -329,6 +329,31 @@ def getField(self, name):
DeprecationWarning)
return self[name]
+ @since(3.1)
+ def withField(self, fieldName, col):
Review comment:
This is part of the Column class not DataFrame class, and I don't see a
section for Column yet. Should I add one?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]