Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In the context of Spark Streaming, which method allows you to define a function that executes on the output of every micro-batch?
A
pivot()
B
foreachBatch()
C
explain()
D
foreachUDF()
E
fun()