Paste a Flink SQL query to visualize its topic flow, window behavior, state requirements, and potential issues.
The Flink SQL Playground parses your query client-side and extracts its structure: source topics, transformations, window definitions, join types, aggregations, and output. No Flink cluster required — everything runs in your browser.
See how data flows through your pipeline — from Kafka source topics through filters, joins, windows, and aggregations to the output stream or table. Each operation is color-coded by type.
TUMBLE, HOP (sliding), SESSION, and CUMULATE windows — both legacy GROUP BY syntax and modern TABLE-valued function (TVF) syntax. Visual timeline shows how events are grouped.
Inner, left, right, and cross joins. Temporal joins with FOR SYSTEM_TIME AS OF for versioned table lookups. Interval joins with BETWEEN for time-bounded stream-to-stream correlation.
MATCH_RECOGNIZE pattern detection — fraud detection, price trends, sequence matching. The tool extracts PATTERN definitions and DEFINE conditions.
Automatic risk assessment — low (windowed, bounded), medium (temporal join, session window), or high (unbounded GROUP BY, MATCH_RECOGNIZE). Helps prevent state explosion in production.
ML_PREDICT, AI_COMPLETE, AI_EMBEDDING, VECTOR_SEARCH_AGG, and other Confluent Cloud for Apache Flink functions. Detects model references and function types.
ROW_NUMBER, LAG, LEAD, FIRST_VALUE, LAST_VALUE with OVER clauses. Detects the common deduplication pattern (WHERE rn = 1).
Data engineers building Flink SQL pipelines on Apache Flink or Confluent Cloud. Useful during development to understand query structure, validate window semantics, and catch unbounded state issues before deploying to production.