You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/09 08:01:37 UTC

[GitHub] fhueske opened a new pull request #6527: [hotfix] [docs] Fix ProcessWindowFunction code snippets.

fhueske opened a new pull request #6527: [hotfix] [docs] Fix ProcessWindowFunction code snippets.
URL: https://github.com/apache/flink/pull/6527
 
 
   ## What is the purpose of the change
   
   - Fix the code snippets for the `ProcessWindowFunction` in the documentation
   
   ## Brief change log
   
   Problems with the examples:
   
   - Java: Tuple does not take generic parameters (`Tuple<String, Long>`)
   - Java: `process()` method must be `public`
   - `MyProcessWindowFunction` expects `String` key, but no key extractor is used
   - `MyProcessWindowFunction` expects `TimeWindow`, but window assigner is not defined
   
   ## Verifying this change
   
   copy and paste code in an IDE.
   
   ## Does this pull request potentially affect one of the following parts:
   
   No
   
   ## Documentation
   
   Fix for the docs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services