QuestionQ281
VerifiedCost & Performance OptimisationA data engineer needs to join a stream of advertisement impressions (when an ad was displayed) with another stream of users’ advertisement clicks to correlate which impressions resulted in monetizable clicks.
In the following code, Impressions is a streaming DataFrame with a watermark of ("event_time", "10 minutes").

The data engineer observes that the query is slowing down substantially.
Which solution would improve performance?
Community Discussion