[
https://issues.apache.org/jira/browse/BEAM-13341?focusedWorklogId=692713&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-692713
]
ASF GitHub Bot logged work on BEAM-13341:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Dec/21 16:31
Start Date: 08/Dec/21 16:31
Worklog Time Spent: 10m
Work Description: aromanenko-dev commented on a change in pull request
#16080:
URL: https://github.com/apache/beam/pull/16080#discussion_r765028986
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/coders/AvroCoder.java
##########
@@ -217,6 +217,7 @@ public static CoderProvider getCoderProvider() {
}
private final Class<T> type;
+ private final boolean useReflection;
Review comment:
Well, maybe it's only me, but `reflection` is rather associated with
Java Reflection for me. So I think `useReflectApi` reflects :) better the
initial intention of this.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 692713)
Time Spent: 2h (was: 1h 50m)
> Serialization of AvroCoder for dataflow workers discard reflect option
> ----------------------------------------------------------------------
>
> Key: BEAM-13341
> URL: https://issues.apache.org/jira/browse/BEAM-13341
> Project: Beam
> Issue Type: Bug
> Components: runner-dataflow
> Affects Versions: 2.34.0
> Reporter: Michel Davit
> Assignee: Michel Davit
> Priority: P3
> Time Spent: 2h
> Remaining Estimate: 0h
>
> [AvroCoderCloudObjectTranslator|https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/util/AvroCoderCloudObjectTranslator.java]
> used to serialize AvroCoder to the dataflow worker does not take in account
> the 'useRelectApi'
> [AvroCoder|https://github.com/apache/beam/blob/f6e4aef7cc22ea934bde471fd2e2ea2c110721d4/sdks/java/core/src/main/java/org/apache/beam/sdk/coders/AvroCoder.java#L131]
> parameter, and will deserialize coders with default value (true).
> The CloudObjectTranslator should propagate this setting so that the
> deserialized coder behaves the same way as the serialized one.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)