Join and aggregate the partial results stream.
Join and aggregate the partial results stream.
This method takes the com.yahoo.bullet.spark.data.BulletData stream coming from the QueryDataUnioning phase and the FilterStreaming phase and emits the com.yahoo.bullet.spark.data.BulletResult stream to the ResultEmitter phase. It combines all the partial results with the same key and emits the com.yahoo.bullet.spark.data.BulletResult accordingly. It uses mapWithState to remember the intermediate combined results.
The Spark streaming context.
The com.yahoo.bullet.spark.data.BulletData partial results stream.
The broadcasted com.yahoo.bullet.spark.utils.BulletSparkConfig configuration that has been validated.
A com.yahoo.bullet.spark.data.BulletResult stream which contains results to be emitted.