[
https://issues.apache.org/jira/browse/BEAM-4863?focusedWorklogId=141449&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-141449
]
ASF GitHub Bot logged work on BEAM-4863:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Sep/18 17:33
Start Date: 05/Sep/18 17:33
Worklog Time Spent: 10m
Work Description: lukecwik commented on a change in pull request #6057:
[BEAM-4863] Implement consistentWithEquals/structuralValue on
FullWindowedValueCoder
URL: https://github.com/apache/beam/pull/6057#discussion_r215361516
##########
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:
The encoded/decoded bytes will still be the same since both ListCoder and
CollectionCoder rely on the IterableLikeCoder for encoding/decoding records.
Does Dataflows update care about the names of the coders used or only about
the encoding?
----------------------------------------------------------------
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: 141449)
Time Spent: 1h (was: 50m)
> 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
> 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)