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

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

                Author: ASF GitHub Bot
            Created on: 03/Jun/20 02:47
            Start Date: 03/Jun/20 02:47
    Worklog Time Spent: 10m 
      Work Description: jaketf commented on a change in pull request #11862:
URL: https://github.com/apache/beam/pull/11862#discussion_r434278353



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/HL7v2IO.java
##########
@@ -179,25 +189,51 @@ public static ListHL7v2Messages readAll(List<String> 
hl7v2Stores) {
     return new ListHL7v2Messages(StaticValueProvider.of(hl7v2Stores), 
StaticValueProvider.of(null));
   }
 
+  /** Read all HL7v2 Messages from multiple stores as sendTime {@link 
TimestampedValue}s. */
+  public static ListTimestampedHL7v2Messages 
readAllWithTimestamps(List<String> hl7v2Stores) {

Review comment:
       this is a good point.
   
   Unfortunately, I think having adding replacing the existing static methods 
with `withFilter` builder would be interface breaking. I've added this method 
to `ListHL7v2Messages` as it might be more natural for some to use.




----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 440569)
    Time Spent: 50m  (was: 40m)

> HL7v2IO read methods should assign sendTime timestamps
> ------------------------------------------------------
>
>                 Key: BEAM-10141
>                 URL: https://issues.apache.org/jira/browse/BEAM-10141
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Jacob Ferriero
>            Assignee: Jacob Ferriero
>            Priority: P3
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Per Suggestion in this 
> [conversation|https://github.com/apache/beam/pull/11596#discussion_r427633240]
> Add timestamped values and watermark estimate to
>  HL7v2IO.ListMessages. The same argument can be made for making HL7v2IO.Read 
> return timestamped values.
> This should be optional and default to false to not be interface breaking.



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

Reply via email to