HyukjinKwon commented on a change in pull request #27853:
[SPARK-30941][PySpark] Add a note to asDict to document its behavior when there
are duplicate fields
URL: https://github.com/apache/spark/pull/27853#discussion_r389504323
##########
File path: python/pyspark/sql/types.py
##########
@@ -1528,6 +1528,12 @@ def asDict(self, recursive=False):
:param recursive: turns the nested Rows to dict (default: False).
+ NOTE: If a row contains duplicate field names, e.g., the rows of a join
Review comment:
What about using:
```
.. note: If ...
...
```
?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]