[
https://issues.apache.org/jira/browse/BEAM-8575?focusedWorklogId=346276&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-346276
]
ASF GitHub Bot logged work on BEAM-8575:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Nov/19 21:34
Start Date: 19/Nov/19 21:34
Worklog Time Spent: 10m
Work Description: bumblebee-coming commented on issue #10159: [BEAM-8575]
Added a unit test to CombineTest class to test that Combiā¦
URL: https://github.com/apache/beam/pull/10159#issuecomment-555710517
The Java parity of this test is:
testHotKeyCombiningWithAccumulationMode
in file:
sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/CombineTest.java
There are two things to clarify:
1. The Java test used .pane().isLast() to check and then emit the result for
the last pane. This is not necessary. Plus the PaneInfo is not easy to get in
Python, which requires using WindowedValue from apache_beam.utils. So in the
Python code, we compare the result directly.
2. Although the names contain "HotKey", the Java test combines globally, not
combining per key, and uses WithFanout, not WithHotKeyFanout. The Python test
followed the Java test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 346276)
Time Spent: 13.5h (was: 13h 20m)
> Add more Python validates runner tests
> --------------------------------------
>
> Key: BEAM-8575
> URL: https://issues.apache.org/jira/browse/BEAM-8575
> Project: Beam
> Issue Type: Test
> Components: sdk-py-core, testing
> Reporter: wendy liu
> Assignee: wendy liu
> Priority: Major
> Time Spent: 13.5h
> Remaining Estimate: 0h
>
> This is the umbrella issue to track the work of adding more Python tests to
> improve test coverage.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)