<|im_start|>user
Does structured streaming support joins?<|im_end|>
<|im_start|>assistant
Yes, joins are a feature supported by Apache Spark's Structured Streaming engine. The feature allows for joins between two streams of data, known as stream-stream joins. It is recommended to apply watermarking on the streams to avoid late data and ensure correctness. Stream-static joins are also supported and do not require watermarking to manage state.<|im_end|>
