In the context of Spark Streaming, which method allows you to define a function that executes on the output of every micro-batch?
Real Exam
A
pivot()
4.7%
B
foreachBatch()
85.9%
C
explain()
4.7%
D
foreachUDF()
1.6%
E
fun()
3.1%
Powered ByGPT-5.2
In the context of Spark Streaming, which method allows you to define a function that executes on the output of every micro-batch? | Databricks Certified Data Engineer - Professional Quiz - LeetQuiz