instruction: Does structured streaming support joins?
response: 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.