I'm attempintg to consume a SparkListenerJobStart
object in Python, but the py4j bindings do not understand ArrayBuffer
s (or, I guess, scala.collection.Seq
s in general). What do?
Asked
Active
Viewed 147 times
1 Answers
3
Convert the object like so:
list = [arrayBuffer.apply(i)
for i in range(arrayBuffer.length())]

badp
- 11,409
- 3
- 61
- 89