Hi Jark, Thank you for the clarification this is exactly what I was looking for, especially for the second part regarding schema registry integration.
This question came up as we were investigating how the schema registry integration should look like :) Cheers, Gyula On Wed, Mar 4, 2020 at 12:06 PM Jark Wu <imj...@gmail.com> wrote: > Hi Gyula, > > That's a good point and is on the roadmap. > > In 1.10, JSON and CSV format can derive format schema from table schema. > So you don't need to specify format schema in properties anymore if you are > using 1.10. > > On the contrary, we are planning to derive table schema from format schema > if it is specified, e.g. "format.fields", "format.avro-file-path". > Furthermore, table schema can be inferenced if there is a schema registry > or even read some data and infer it. > I created FLINK-16420 to track this effort. But not sure we have enough > time to support it before 1.11. > > Best, > Jark > > [1]: https://issues.apache.org/jira/browse/FLINK-16420 > > > On Wed, 4 Mar 2020 at 18:21, Gyula Fóra <gyula.f...@gmail.com> wrote: > >> Hi All! >> >> I am wondering if it would be possible to change the CREATE TABLE >> statement so that it would also work without specifying any columns. >> >> The format generally defines the available columns so maybe we could >> simply use them as is if we want. >> >> This would be very helpful when exploring different data sources. >> >> Let me know what you think! >> Gyula >> >