beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-4863) Implement consistentWithEquals/structuralValue on FullWindowedValueCoder
Date Sat, 08 Sep 2018 00:02:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 08/Sep/18 00:01
            Start Date: 08/Sep/18 00:01
    Worklog Time Spent: 10m 
      Work Description: reuvenlax commented on a change in pull request #6057: [BEAM-4863]
Implement consistentWithEquals/structuralValue on FullWindowedValueCoder
URL: https://github.com/apache/beam/pull/6057#discussion_r216112232
 
 

 ##########
 File path: sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowedValue.java
 ##########
 @@ -497,7 +497,7 @@ private void ensureWindowsAreASet() {
       // right, and cast the window type away here.
       @SuppressWarnings({"unchecked", "rawtypes"})
       Coder<Collection<? extends BoundedWindow>> collectionCoder =
-          (Coder) CollectionCoder.of(this.windowCoder);
 
 Review comment:
   I believe Dataflow looks at the coder id to determine compatibility (if the coder id has
changed, it assumes the update is incompatible).

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


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

    Worklog Id:     (was: 142379)
    Time Spent: 1h 20m  (was: 1h 10m)

> Implement consistentWithEquals/structuralValue on FullWindowedValueCoder
> ------------------------------------------------------------------------
>
>                 Key: BEAM-4863
>                 URL: https://issues.apache.org/jira/browse/BEAM-4863
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Implementing *consistentWithEquals*/*structuralValue* boosts significantly the performance
of using these values in comparison operations since it doesn't require encoding the values.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message