[
https://issues.apache.org/jira/browse/FLINK-41407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143740#comment-18143740
]
Martijn Visser edited comment on FLINK-41407 at 11/12/26, 2:47 PM:
-------------------------------------------------------------------
Fixed in apache/flink
master: 50334ae06b25131cc78652c33973935ed67ba8fc
release-2.4: d1302269208db724e2a6969c73e38a2720567e15
release-2.3: 0dcdf1283a9f2bc589065e3c7b92f1b1b428b625
release-2.2: 18c31af0a0b21a9fd6d64d6b0940fbae7fdf495d
was (Author: martijnvisser):
Fixed in apache/flink
master: 50334ae06b25131cc78652c33973935ed67ba8fc
release-2.4:
release-2.3:
release-2.2:
> Fix code examples in the documentation that don't work on master
> ----------------------------------------------------------------
>
> Key: FLINK-41407
> URL: https://issues.apache.org/jira/browse/FLINK-41407
> Project: Flink
> Issue Type: Technical Debt
> Components: Documentation
> Affects Versions: 2.5.0
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.4.1, 2.5.0, 2.2.3, 2.3.2
>
>
> I compiled every Java code example in docs/content against master. 27 of them
> don't compile: most use APIs that were removed (DataSet, string keys and
> expressions, Time, addDefaultKryoSerializer, OptionsFactory, the old client
> API), the rest have wrong signatures or typos. The
> FixedSizeSplitFetcherManager example in the sources internals page misses
> removeSplits(), which became abstract with FLINK-25509; FLINK-36745 fixed the
> constructor in the same example but not this. Many examples also still use
> deprecated APIs, such as fromElements, SinkFunction, SourceFunction,
> typedArguments and registerCatalog, and 29 Scala examples use the Scala
> DataStream API that was removed in 2.0. The cache() example is tracked in
> FLINK-30097.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)