Skip to content

Add WindowFn#assignsToOneWindow#3452

Closed
tgroh wants to merge 1 commit into
apache:masterfrom
tgroh:assign_to_one_window_fn
Closed

Add WindowFn#assignsToOneWindow#3452
tgroh wants to merge 1 commit into
apache:masterfrom
tgroh:assign_to_one_window_fn

Conversation

@tgroh
Copy link
Copy Markdown
Member

@tgroh tgroh commented Jun 27, 2017

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify.
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@tgroh
Copy link
Copy Markdown
Member Author

tgroh commented Jun 27, 2017

R: @kennknowles

return false;
}

/**
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

<p>If it varies per element, or cannot be determined, you should conservatively return false

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

expected,
runWindowFn(
SlidingWindows.of(new Duration(10)).every(new Duration(5)),
runWindowFn(windowFn,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Geez, this method makes the test unreadable.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@kennknowles
Copy link
Copy Markdown
Member

And LGTM modulo comment comment.

@tgroh tgroh force-pushed the assign_to_one_window_fn branch from 8a8ac5b to 660d46c Compare June 27, 2017 22:02
@asfgit asfgit closed this in beb21f4 Jun 27, 2017
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.02%) to 70.87% when pulling 660d46c on tgroh:assign_to_one_window_fn into 2365e71 on apache:master.

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