Re: Can Flink infers the table columns type

2019-07-04 Thread Dawid Wysakowicz
Hi, Unfortunately the automatic schema inference of jdbc source is not supported yet. There is also no jdbc TableSource yet, but you should be able to write one yourself that reuses the JDBCInputFormat. You may take a look at BatchTableSource/StreamTableSource interfaces and corresponding methods

Can Flink infers the table columns type

2019-07-02 Thread Soheil Pourbafrani
Hi I want load MySQL tables in Flink without need to specifying column names and types (like what we can do in Apache Spark DataFrames). Using the JDBCInputFormat we should pass the table fields type in the method setRowTypeInfo. I couldn't find any way to force Flink to infer the column type. I