system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
Does structured streaming support joins?


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.