RuntimeError: generator raised StopIteration in PySpark in Python 3.7.3
15 sie 2020 | Blog | Coding | Debugging | itertools | PySpark | Python | Spark | IT
Recently I was debugging this simple PySpark code: [crayon-5f78190f490af439993830/] First, we get some DataFrame. Next, we collect it to dictionary. It doesn’t matter how you create the dictionary, actually it could be a set or list as well. Finally, we do some filtering…