Hi, Now in JDBCTableSource.getInputFormat, It's written explicitly: WHERE XXX BETWEEN ? AND ?. So we must use `NumericBetweenParametersProvider`. I don't think this is a good and long-term solution. I think we should support filter push-down for JDBCTableSource, so in this way, we can write the filters that we want, what do you think?
Best, Jingsong Lee On Tue, Apr 21, 2020 at 10:00 PM Flavio Pompermaier <pomperma...@okkam.it> wrote: > Hi all, > we have a use case where we have a prepared statement that we parameterize > using a custom parameters provider (similar to what happens in > testJDBCInputFormatWithParallelismAndNumericColumnSplitting[1]). > How can we handle this using the JDBC table API? > What should we do to handle such a use case? Is there anyone willing to > mentor us in its implementation? > > Another question: why flink-jdbc has not been renamed to > flink-connector-jdbc? > > Thanks in advance, > Flavio > > [1] > https://github.com/apache/flink/blob/master/flink-connectors/flink-jdbc/src/test/java/org/apache/flink/api/java/io/jdbc/JDBCInputFormatTest.java > -- Best, Jingsong Lee