Skip to content

KAFKA-3613: Consolidate TumblingWindows and HoppingWindows into TimeWindows#1261

Closed
miguno wants to merge 5 commits into
apache:trunkfrom
miguno:KAFKA-3613
Closed

KAFKA-3613: Consolidate TumblingWindows and HoppingWindows into TimeWindows#1261
miguno wants to merge 5 commits into
apache:trunkfrom
miguno:KAFKA-3613

Conversation

@miguno
Copy link
Copy Markdown
Contributor

@miguno miguno commented Apr 23, 2016

@guozhangwang @enothereska @mjsax : Feel free to take a look.

Beyond the consolidation of windows, I also added further unit tests, merged equalsTo and equals, and renamed every() to shiftedBy().

@miguno
Copy link
Copy Markdown
Contributor Author

miguno commented Apr 23, 2016

Three tests are failing, stay tuned.

@miguno
Copy link
Copy Markdown
Contributor Author

miguno commented Apr 23, 2016

Works now.

return new TimeWindows(this.name, this.size, hop);
}

// TODO: Document windowsFor()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@miguno I guess you'll remove this TODO as part of PR? Thanks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@enothereska: Docstring TODO completed.

@enothereska
Copy link
Copy Markdown
Contributor

LGTM, tests pass for me (above failure seems to be unrelated).

@miguno
Copy link
Copy Markdown
Contributor Author

miguno commented Apr 27, 2016

Closed in favor of #1277 (which rebases the changes in this PR on latest Kafka trunk).

@miguno miguno closed this Apr 27, 2016
asfgit pushed a commit that referenced this pull request Apr 29, 2016
…indows

This PR includes the same code as #1261 but is rebased on latest trunk.

Author: Michael G. Noll <michael@confluent.io>

Reviewers: Matthias J. Sax, Guozhang Wang

Closes #1277 from miguno/KAFKA-3613-v2
gfodor pushed a commit to AltspaceVR/kafka that referenced this pull request Jun 3, 2016
…indows

This PR includes the same code as apache#1261 but is rebased on latest trunk.

Author: Michael G. Noll <michael@confluent.io>

Reviewers: Matthias J. Sax, Guozhang Wang

Closes apache#1277 from miguno/KAFKA-3613-v2
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.

2 participants