Skip to content

Apache Flink SQL Syntax Support

Apache Flink SQL is the SQL layer of the Apache Flink stream-processing framework, used to define streaming and batch pipelines with standard SQL plus streaming extensions such as CREATE TABLE ... WITH (...) connector definitions, watermarks, and windowing table-valued functions.

General SQL Parser (GSP) parses Flink SQL with a dedicated grammar, so Flink jobs can be analyzed offline: full AST access, syntax validation, formatting, and column-level data lineage across streaming pipelines. This makes GSP suitable for building lineage and impact analysis over Flink-based data platforms.

See the Flink SQL Keyword Compatibility Reference for keyword-as-identifier support.