Hi all, We have prepared a design doc [1] about source and sink concepts in Flink SQL. This is actually an extended discussion about SQL DDL [2].
In the design doc, we want to figure out some concept problems. For examples: 1. How to define boundedness in DDL 2. How to define a changelog in DDL, what's the behavior of a changelog source and changelog sink? 3. How to define primary key in DDL and what's the semantic when we have a primary key on a table and stream? They are mostly related to DDL because DDL is plain text and we need to keep close to standard as much as possible. This is an important step before we starting to refactor our TableSource/TableSink/TableFactory interfaces. Because we need to know what changes we need to introduce to support these concepts. Please feel free to leave feedbacks in the thread or the design doc. Regards, Jark [1]. https://docs.google.com/document/d/1yrKXEIRATfxHJJ0K3t6wUgXAtZq8D-XgvEnvl2uUcr0/edit# [2]. http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Flink-SQL-DDL-Design-tt25006.html