You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/08/16 02:24:59 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37521: [SPARK-40078][PYTHON][DOCS] Make pyspark.sql.column examples self-contained

HyukjinKwon commented on code in PR #37521:
URL: https://github.com/apache/spark/pull/37521#discussion_r946281300


##########
python/pyspark/sql/column.py:
##########
@@ -405,6 +405,17 @@ def getItem(self, key: Any) -> "Column":
 
         .. versionadded:: 1.3.0
 
+        Parameters
+        ----------
+        key
+            a literal value, or a :class:`Column` expression (deprecated since Spark 3.0).
+            The result will only be true at a location if item matches in the Column.

Review Comment:
   ```suggestion
               a literal value, or a :class:`Column` expression.
               The result will only be true at a location if item matches in the column.
   
                .. deprecated:: 3.0.0
                    :class:`Column` as a parameter is deprecated.
   ```



-- 
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-unsubscribe@spark.apache.org

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


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