Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hotfix][FLIP-176] Updates onEpochWatermarkIncremented() and onIterationTerminated() to throw Exception #41

Closed
wants to merge 1 commit into from

Conversation

lindong28
Copy link
Member

@lindong28 lindong28 commented Dec 20, 2021

What is the purpose of the change

The purpose of this PR is to simplify the experience of implementing onEpochWatermarkIncremented() and onIterationTerminated().

Brief change log

This PR updated onEpochWatermarkIncremented() and onIterationTerminated() to throw Exception.

Verifying this change

The changes are validated by the existing unit tests.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (N/A)

Copy link
Contributor

@zhipeng93 zhipeng93 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Left some comments below.

@lindong28 lindong28 changed the title [hotfix][FLIP-176] Renames iterateBoundedStreamsUntilTermination to iterateStreams [hotfix][FLIP-176] Updates onEpochWatermarkIncremented() and onIterationTerminated() to throw Exception Dec 21, 2021
@lindong28
Copy link
Member Author

@gaoyunhaii Could you help review this PR?

@gaoyunhaii
Copy link
Contributor

Thanks @lindong28 for opening the PR and @zhipeng93 for the review! I think it would indeed makes users easier and keep consistency with other UDF interfaces~

@lindong28 lindong28 deleted the api-hotfix branch December 24, 2021 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants