[ https://issues.apache.org/jira/browse/FLINK-30097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-30097: ----------------------------------- Labels: pull-request-available stale-assigned (was: pull-request-available) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issue is assigned but has not received an update in 30 days, so it has been labeled "stale-assigned". If you are still working on the issue, please remove the label and add a comment updating the community on your progress. If this issue is waiting on feedback, please consider this a reminder to the committer/reviewer. Flink is a very active project, and so we appreciate your patience. If you are no longer working on the issue, please unassign yourself so someone else may work on it. > CachedDataStream java example in the document is not correct > ------------------------------------------------------------ > > Key: FLINK-30097 > URL: https://issues.apache.org/jira/browse/FLINK-30097 > Project: Flink > Issue Type: Bug > Components: Documentation > Affects Versions: 1.16.0 > Reporter: Prabhu Joseph > Assignee: Xuannan Su > Priority: Minor > Labels: pull-request-available, stale-assigned > > CachedDataStream java example in the document is not correct - > [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/datastream/operators/overview/#datastream-rarr-cacheddatastream] > > {code:java} > DataStream<Integer> dataStream = //... > CachedDataStream<Integer> cachedDataStream = dataStream.cache();{code} > The example shows to invoke cache() on a DataStream instance but DataStream > class does not have cache() method. The right usage is to call cache() on an > instance of DataStreamSource/SideOutputDataStream/SingleOutputStreamOperator. > -- This message was sent by Atlassian Jira (v8.20.10#820010)