[
https://issues.apache.org/jira/browse/BEAM-3194?focusedWorklogId=142259&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-142259
]
ASF GitHub Bot logged work on BEAM-3194:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Sep/18 18:08
Start Date: 07/Sep/18 18:08
Worklog Time Spent: 10m
Work Description: robinyqiu commented on a change in pull request #6220:
[BEAM-3194] Add integration test for support of @RequiresStableInput
URL: https://github.com/apache/beam/pull/6220#discussion_r216043491
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/testing/FileChecksumMatcher.java
##########
@@ -90,6 +91,27 @@ public FileChecksumMatcher(String checksum, String
filePath) {
this(checksum, filePath, DEFAULT_SHARD_TEMPLATE);
}
+ /**
+ * Constructor that allows users to specify whether to use shardTemplate or
not.
+ *
+ * @param checksum expected checksum string used to verify file content.
+ * @param filePath path of files that's to be verified.
+ * @param useShardTemplate if set to false, will not use shardTemplate to
match files
+ */
+ public FileChecksumMatcher(String checksum, String filePath, boolean
useShardTemplate) {
Review comment:
An alternative is that we deprecate the old constructor and create a
corresponding public static method, like `forNumberedShardedFiles(String
checksum, String filePath)`, and ask user to move to that. Do you think this is
a good idea?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 142259)
Time Spent: 2h (was: 1h 50m)
> Support annotating that a DoFn requires stable / deterministic input for
> replay/retry
> -------------------------------------------------------------------------------------
>
> Key: BEAM-3194
> URL: https://issues.apache.org/jira/browse/BEAM-3194
> Project: Beam
> Issue Type: New Feature
> Components: beam-model
> Reporter: Kenneth Knowles
> Assignee: Yueyang Qiu
> Priority: Major
> Time Spent: 2h
> Remaining Estimate: 0h
>
> See the thread:
> https://lists.apache.org/thread.html/5fd81ce371aeaf642665348f8e6940e308e04275dd7072f380f9f945@%3Cdev.beam.apache.org%3E
> We need this in order to have truly cross-runner end-to-end exactly once via
> replay + idempotence.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)