Answer B is correct:
https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#support-matrix-for-joins-in-streaming-queries
When we take a look in the supported join matrix between static and stream inputs, we can identify, that Stream-Static + outer is not supported.
Answer E is wrong, because the Static-Stream + right join is supported.
B.
We match all the records from a static DataFrame on the left with a stream DataFrame on the right. If records do not match from the static DF (Left) to stream DF (Right), then the system cannot return null since the data changes on stream DF (Right), and we cannot guarantee if we will get matching records. That is why full_outer join is not supported.
Specifically, outer joins are not supported with a static DataFrame on the right and a streaming DataFrame on the left. This is because it’s not possible to guarantee all necessary rows will be available in the streaming DataFrame for every micro-batch.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Enduresoul
Highly Voted 1 year agoimatheushenrique
Most Recent 5 months, 4 weeks agohal2401me
8 months, 2 weeks agoCurious76
9 months agovctrhugo
9 months, 3 weeks agokz_data
10 months, 2 weeks agokz_data
10 months, 2 weeks agolexaneon
10 months, 3 weeks ago