Skip to content

[docs] Fix code examples and minor issues in DataStream documentation#27881

Open
Vishal-Kamlapure wants to merge 2 commits intoapache:masterfrom
Vishal-Kamlapure:fix/datastream-docs-issues
Open

[docs] Fix code examples and minor issues in DataStream documentation#27881
Vishal-Kamlapure wants to merge 2 commits intoapache:masterfrom
Vishal-Kamlapure:fix/datastream-docs-issues

Conversation

@Vishal-Kamlapure
Copy link
Copy Markdown
Contributor

What is the purpose of the change

This PR fixes several issues in the DataStream documentation.

Brief change log

  • Fixed incorrect code examples (MapFunction usage, test harness types)
  • Corrected typos and grammar issues
  • Fixed broken examples (missing parentheses, incorrect variables)
  • Replaced deprecated generateSequence with fromSequence based on Flink stable documentation

Verifying this change

This change is a documentation and example fix. No functional changes were introduced.

@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Apr 1, 2026

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Copy Markdown
Member

@reswqa reswqa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the contribution. Can you also apply the fix(code part) to Chinese doc.

@Vishal-Kamlapure
Copy link
Copy Markdown
Contributor Author

Thanks for the suggestion, @reswqa ! I’ve applied the same code fixes to the Chinese documentation as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants