Flink concepts for Cloudera SQL Stream Builder users
A few Flink concepts affect how your SQL jobs behave: state, time, parallelism, and recovery. Knowing them helps you read results correctly and change jobs without losing data.
Cloudera SQL Stream Builder turns your SQL into a Flink job. The job does not stop when it reaches the end of a table, because a stream has no end. Instead:
- The job keeps state, such as running totals and the rows of a join, so that results stay correct across events. For more information, see Stateful processing.
- Checkpoints and savepoints save that state, so a job can recover from a failure or continue after a change. For more information, see Checkpoints and savepoints.
- The job can work in parallel, and the number of parallel instances affects both throughput and how state is restored. For more information, see Parallelism.
- Time determines which events belong to which result. For more information, see Event time and watermarks and Windowing.
- The SQL runs as a graph of operators. For more information, see Process operators.
