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 2020/03/09 07:54:33 UTC

[GitHub] [spark] 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

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org