zhengruifeng commented on code in PR #39472:
URL: https://github.com/apache/spark/pull/39472#discussion_r1065282483
##########
python/pyspark/sql/dataframe.py:
##########
@@ -1116,7 +1116,7 @@ def hint(
--------
>>> df = spark.createDataFrame([(2, "Alice"), (5, "Bob")],
schema=["age", "name"])
>>> df2 = spark.createDataFrame([Row(height=80, name="Tom"),
Row(height=85, name="Bob")])
- >>> df.join(df2, "name").explain()
+ >>> df.join(df2, "name").explain() # doctest: +SKIP
Review Comment:
this doctest is related to the implementation details of `createDataFrame`:
`createDataFrame` in PySpark create a `Scan ExistingRDD`, while a
`LocalRelation` in Connect
##########
python/pyspark/sql/dataframe.py:
##########
@@ -1116,7 +1116,7 @@ def hint(
--------
>>> df = spark.createDataFrame([(2, "Alice"), (5, "Bob")],
schema=["age", "name"])
>>> df2 = spark.createDataFrame([Row(height=80, name="Tom"),
Row(height=85, name="Bob")])
- >>> df.join(df2, "name").explain()
+ >>> df.join(df2, "name").explain() # doctest: +SKIP
Review Comment:
So I think we can skip it
--
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]