zhengruifeng opened a new pull request, #40013: URL: https://github.com/apache/spark/pull/40013
### What changes were proposed in this pull request? 1, in the server side, `DataFrame.drop(colNames: String*)` =!= `DataFrame.drop([colNames: String*](col: Column, cols: Column*))` 2, in the python client, there is a special logic that when there is single column name, always call `DataFrame.drop(colNames: String*)` https://github.com/apache/spark/blob/f6a3357cdbb48b66b3ebca372f38baf97e822e68/python/pyspark/sql/dataframe.py#L4901-L4902 ### Why are the changes needed? `DataFrame.drop` should handle duplicated columns properly ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? enabled tests -- 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]
