Thanks Jark for bringing this topic. I think proper concepts is very important for users who are using Table API & SQL. Especially for them to have a clear understanding about the behavior of the SQL job. Also this is essential for connector developers to have a better understanding why we abstracted the interfaces in this way, and have a smooth experience when developing connectors for Table & SQL.
Best, Kurt On Mon, May 27, 2019 at 3:35 PM Jark Wu <imj...@gmail.com> wrote: > 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 >