Yikun commented on code in PR #37465:
URL: https://github.com/apache/spark/pull/37465#discussion_r944005915
##########
python/pyspark/sql/types.py:
##########
@@ -684,6 +702,28 @@ class StructType(DataType):
... StructField("f2", IntegerType(), False)])
>>> struct1 == struct2
False
+
+ The below example demonstrates how to create a struct using
class:`StructType`
+ and class:`StructField` on DataFrame:
Review Comment:
Thanks, addressed.
--
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]