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

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

                Author: ASF GitHub Bot
            Created on: 14/May/19 22:30
            Start Date: 14/May/19 22:30
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on pull request #8342: 
[BEAM-7103] Adding AvroGenericCoder for cross-language data transfer
URL: https://github.com/apache/beam/pull/8342#discussion_r284025317
 
 

 ##########
 File path: 
sdks/java/core/src/main/java/org/apache/beam/sdk/coders/AvroGenericCoder.java
 ##########
 @@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.sdk.coders;
+
+import org.apache.avro.Schema;
+import org.apache.avro.generic.GenericRecord;
+
+/** GenericRecord Avro Coder for simple dict type cross-language data 
transfer. */
+public class AvroGenericCoder extends AvroCoder<GenericRecord> {
+  protected AvroGenericCoder(Schema schema) {
 
 Review comment:
   Also, should we be adding this to standard coder definitions in [1] and [2].
   
   [1] 
https://github.com/apache/beam/blob/master/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml
   [2] 
https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto#L557
 
----------------------------------------------------------------
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: 242088)
    Time Spent: 1h 50m  (was: 1h 40m)

> Adding AvroGenericCoder for simple dict type cross-language data transfer
> -------------------------------------------------------------------------
>
>                 Key: BEAM-7103
>                 URL: https://issues.apache.org/jira/browse/BEAM-7103
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core, sdk-py-core
>            Reporter: Heejong Lee
>            Assignee: Heejong Lee
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Adding AvroGenericCoder for simple dict type cross-language data transfer.



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

Reply via email to