Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To stop all running streams in Python, you first need to identify which streams are currently active. Fill in the blank in the following code snippet to correctly list all active streams for stopping:
for s in _______________: s.stop()
A
activeStreams()
B
spark.streams.getActive
C
Spark.getActiveStreams()
D
spark.streams.active
E
getActiveStreams()