The Apache Flink SQL Cookbook is a curated collection of examples, patterns, and use cases of Apache Flink SQL. Many of the recipes are completely self-contained and can be run in Ververica Platform as is.
The cookbook is a living document. The first twenty-four examples are being added as an advent calendar leading up to Christmas 2020.
- Creating Tables
- Inserting Into Tables
- Working with Temporary Tables
- Filtering Data
- Aggregating Data
- Sorting Tables
- Encapsulating Logic with (Temporary) Views
- Writing Results into Multiple Tables
- Aggregating Time Series Data
- Watermarks
- Analyzing Sessions in Time Series Data
- Rolling Aggregations on Time Series Data
- Continuous Top-N
- Deduplication
- Regular Joins
- Interval Joins
- Temporal Table Join between a non-compacted and compacted Kafka Topic
- Lookup Joins
- Star Schema Denormalization (N-Way Join)
- Lateral Table Join
Apache Flink is an open source stream processing framework with powerful stream- and batch-processing capabilities.
Learn more about Flink at https://flink.apache.org/.
Copyright © 2020 Ververica GmbH
Distributed under Apache License, Version 2.0.