Martijn Visser created FLINK-40746:
--------------------------------------

             Summary: Deprecate the JdbcSourceBuilder setters that only the 
deprecated setSql path reads
                 Key: FLINK-40746
                 URL: https://issues.apache.org/jira/browse/FLINK-40746
             Project: Flink
          Issue Type: Technical Debt
          Components: Connectors / JDBC
            Reporter: Martijn Visser
            Assignee: Martijn Visser
             Fix For: jdbc-5.0.0


FLINK-38733 deprecated `setSql` / `setJdbcParameterValuesProvider` in favour of 
`setSplitter`, but `setContinuousUnBoundingSettings` (javadoc note only) and 
`setOptionalSqlSplitEnumeratorState` (no notice at all) on the 
`@PublicEvolving` `JdbcSourceBuilder` are not deprecated although only that 
path reads them. The deprecated query API cannot be removed under FLIP-321 
while they are not. Deprecate both; give `SqlTemplateSplitEnumerator`, which 
only the builder and `JdbcSqlSplitterEnumerator` construct, the `@Internal` its 
sibling has.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to