xinrong-meng commented on PR #40135:
URL: https://github.com/apache/spark/pull/40135#issuecomment-1441240940

   Shall we add an example to **Does this PR introduce any user-facing 
change?** in the PR description? Like
   
   ```py
   >>> df3.show()
   +---+----+------+----+
   |age|name|height|name|
   +---+----+------+----+
   | 16| Bob|    85| Bob|
   | 14| Tom|    80| Tom|
   +---+----+------+----+
   
   ### BEFORE
   >>> df3.drop("name", "age").columns
   Traceback (most recent call last):
   ...
   pyspark.errors.exceptions.captured.AnalysisException: [AMBIGUOUS_REFERENCE] 
Reference `name` is ambiguous, could be: [`name`, `name`].
   
   ### AFTER
   >>> df3.drop("name", "age").columns
   ['height']
   ```


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

Reply via email to