[ 
https://issues.apache.org/jira/browse/BEAM-8871?focusedWorklogId=424433&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-424433
 ]

ASF GitHub Bot logged work on BEAM-8871:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Apr/20 21:21
            Start Date: 17/Apr/20 21:21
    Worklog Time Spent: 10m 
      Work Description: boyuanzz commented on pull request #11454: [BEAM-8871] 
Support trySplit for ByteKeyRangeTracker
URL: https://github.com/apache/beam/pull/11454#discussion_r410476018
 
 

 ##########
 File path: 
sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/splittabledofn/ByteKeyRangeTrackerTest.java
 ##########
 @@ -287,4 +318,30 @@ public void testBacklogPartiallyCompleted() {
     tracker.tryClaim(ByteKey.of(0xa0));
     assertThat(tracker.getSize(), allOf(greaterThan(0.), lessThan(1.)));
   }
+
+  /** Asserts the two ByteKey are equal except trailing zeros. */
+  private static void assertByteKeyEqualExceptPadding(ByteKey expected, 
ByteKey key) {
 
 Review comment:
   This is taken from 
https://github.com/apache/beam/blob/master/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeTest.java#L365-L382
 
----------------------------------------------------------------
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: 424433)
    Time Spent: 20m  (was: 10m)

> Add support for splitting at fractions > 0 to 
> org.apache.beam.sdk.transforms.splittabledofn.ByteKeyRangeTracker
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-8871
>                 URL: https://issues.apache.org/jira/browse/BEAM-8871
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Luke Cwik
>            Assignee: Boyuan Zhang
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> org.apache.beam.sdk.transforms.splittabledofn.ByteKeyRangeTracker only 
> supports checkpointing



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to