Pyspark DataFrame.drop wrong type hints

2024-06-21 Thread Oliver Beagley
Hi there, I believe I have found an error with the type hints for `DataFrame.drop` in pyspark. The first overload at https://github.com/apache/spark/blob/0bc38acc615ad411a97779c6a1ff43d4391c0c3d/python/pyspark/sql/dataframe.py#L5559-L5568 isn’t as a `*args` argument, and therefore doesn’t allow

Pyspark DataFrame.drop wrong type hints

2024-06-21 Thread Oliver Beagley
Hi there, I believe I have found an error with the type hints for `DataFrame.drop` in pyspark. The first overload at https://github.com/apache/spark/blob/0bc38acc615ad411a97779c6a1ff43d4391c0c3d/python/pyspark/sql/dataframe.py#L5559-L5568 isn’t as a `*args` argument, and therefore doesn’t allow