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/09 02:09:29 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37441: [SPARK-40009][PYTHON][DOCS] Add doc string to DataFrame union and unionAll

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


##########
python/pyspark/sql/dataframe.py:
##########
@@ -2520,6 +2550,38 @@ def unionAll(self, other: "DataFrame") -> "DataFrame":
         (that does deduplication of elements), use this function followed by :func:`distinct`.
 
         Also as standard in SQL, this function resolves columns by position (not by name).
+
+        Note: This is identical to :func:`union` function

Review Comment:
   Let's just probably mention that it's an alias, and remove Examples section.



-- 
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