Learn the Table API
This documentation is for an unreleased version of Apache Flink. We recommend you use the latest stable version.

Learn the Table API #

Note: This page is a placeholder. Content will be added as part of the documentation restructuring effort.

The Table API is Flink’s declarative API for expressing relational operations on data streams. It provides a unified interface for batch and stream processing, allowing you to write queries that work seamlessly on both bounded and unbounded data.

Why Use the Table API? #

The Table API offers several advantages:

  • Declarative: Focus on what you want to compute, not how to compute it
  • Optimized: Flink’s optimizer automatically selects efficient execution plans
  • Unified: The same API works for both batch and streaming workloads
  • Interoperable: Easily convert between Table API and DataStream API when needed

Getting Started #

For a comprehensive introduction to the Table API, see the Table API documentation.

Next Steps #

After learning the basics of the Table API, continue with: