[ 
https://issues.apache.org/jira/browse/BEAM-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546483#comment-17546483
 ] 

Kenneth Knowles commented on BEAM-1811:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18350

> Extract common class for WithTimestamps.AddTimestampsDoFn and 
> Create.TimestampedValues.ConvertTimestamps
> --------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-1811
>                 URL: https://issues.apache.org/jira/browse/BEAM-1811
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Wesley Tanaka
>            Priority: P3
>              Labels: Clarified, newbie, starter
>
> It seems like these APIs are predominantly duplicative of each other and, 
> that it's hard to find one of them if you knew about the other.
> https://github.com/apache/beam/blob/348d335883b14a9b143b65e4b3c62dc79f62d77e/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/WithTimestamps.java#L134
> https://github.com/apache/beam/blob/348d335883b14a9b143b65e4b3c62dc79f62d77e/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Create.java#L560
> What would make the most sense to me is if TimestampedValues were implemented 
> in terms of both Values and WithTimestamps.  I'm still learning about Beam 
> though -- would this approach cause some kind of performance problem?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to