You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2023/04/25 00:41:46 UTC

[GitHub] [spark] zhengruifeng commented on a diff in pull request #40916: [SPARK-43243][PYTHON][CONNECT] Add level param to printSchema for Python

zhengruifeng commented on code in PR #40916:
URL: https://github.com/apache/spark/pull/40916#discussion_r1175909780


##########
python/pyspark/sql/dataframe.py:
##########
@@ -584,14 +584,14 @@ def printSchema(self, level: Optional[int] = None) -> None:
         .. versionchanged:: 3.4.0
             Supports Spark Connect.
 
-        .. versionchanged:: 3.5.0
-            Added Level parameter.
-
         Parameters
         ----------
         level : int, optional, default None
             How many levels to print for nested schemas.
 
+        .. versionchanged:: 3.5.0

Review Comment:
   I think the indent is not right, you may refer to https://github.com/apache/spark/blob/7f724c3bc7567b0cddc09d5bed11b79879533368/python/pyspark/sql/dataframe.py#L1917-L1921



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