[
https://issues.apache.org/jira/browse/FLINK-40746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser resolved FLINK-40746.
------------------------------------
Resolution: Fixed
Fixed in apache/flink-connector-jdbc:main
6191556785112e977426b072f7c23d749689ef1e
> 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
> Priority: Major
> Labels: pull-request-available
> 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)