[
https://issues.apache.org/jira/browse/BEAM-11997?focusedWorklogId=747940&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-747940
]
ASF GitHub Bot logged work on BEAM-11997:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Mar/22 19:30
Start Date: 25/Mar/22 19:30
Worklog Time Spent: 10m
Work Description: benWize commented on pull request #15549:
URL: https://github.com/apache/beam/pull/15549#issuecomment-1079369518
Hi @pabloem, I'm working on the fixes for this PR, I found out that the new
errors like
https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/21582/testReport/junit/org.apache.beam.sdk.io.redis/RedisIOTest/testRead/
are related to the use of `Latest.perKey()`.
The failing case for that combineFn happen when the elements in the
PCollection don't contain timestamped values, so a timestamp is added in
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Latest.java#L188,
and the condition in
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Latest.java#L110
return the accumulator with a null value, so when tries to encode produces the
reported failure in the tests. I'm not sure if we need to add something else to
RedisIO transform, or Latest combineFn should be modified to include that
specific case.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 747940)
Time Spent: 13h 10m (was: 13h)
> Implement RedisIO on top of Splittable DoFn
> -------------------------------------------
>
> Key: BEAM-11997
> URL: https://issues.apache.org/jira/browse/BEAM-11997
> Project: Beam
> Issue Type: Improvement
> Components: io-java-redis
> Reporter: Boyuan Zhang
> Priority: P2
> Time Spent: 13h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)