zero323 edited a comment on pull request #34392:
URL: https://github.com/apache/spark/pull/34392#issuecomment-951674675


   Since #33083, the idea of `Sequence` or `Iterable` popped up again, an it 
might be nice to use it, but sadly it is not that simple.
   
   Among other things, this would type check
   
   ```python
   from pyspark.sql import SparkSession
   
   spark = SparkSession.builder.getOrCreate()
   
   (spark.read
       .csv("foo.csv")
       .groupBy("foo")
       .pivot("bar", "baz")
       .sum())
   ````
   
   and that's clearly not correct.


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