Feature Support
Iceberg provides comprehensive Flink integration with both SQL and DataStream APIs:Getting Started
Prerequisites
Download Flink from the Apache download page. Iceberg uses Scala 2.12 when compiling the Apacheiceberg-flink-runtime jar, so it’s recommended to use Flink bundled with Scala 2.12.
Flink SQL Client
Start the Flink SQL client with the Iceberg runtime jar:By default, Iceberg ships with Hadoop jars for Hadoop catalog. To use Hive catalog, load the Hive jars when opening the Flink SQL client.
Flink Python API
Install the Apache Flink dependency usingpip:
StreamTableEnvironment and execute Flink SQL:
Type Conversion
Iceberg’s integration for Flink automatically converts between Flink and Iceberg types.Flink to Iceberg
Iceberg to Flink
Next Steps
Connector Setup
Configure Flink connector for Iceberg tables
DDL Operations
Create and manage Iceberg tables with Flink DDL
Queries
Read data from Iceberg tables using Flink
Writes
Write data to Iceberg tables with Flink