ASF GitHub Bot logged work on BEAM-7802:

                Author: ASF GitHub Bot
            Created on: 13/Aug/19 20:22
            Start Date: 13/Aug/19 20:22
    Worklog Time Spent: 10m 
      Work Description: kanterov commented on pull request #9130: [BEAM-7802] 
Expose a method to make an Avro-based PCollection into an Schema-based one
URL: https://github.com/apache/beam/pull/9130#discussion_r313594719

 File path: sdks/java/core/src/main/java/org/apache/beam/sdk/io/AvroUtils.java
 @@ -1,40 +0,0 @@
- * 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.io;
-import java.io.Serializable;
-import org.apache.avro.Schema;
-import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Function;
-import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Supplier;
-import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Suppliers;
-/** Helpers for working with Avro. */
-class AvroUtils {
 Review comment:
   I asked on dev, but probably we already broke it a couple of times
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:

Issue Time Tracking

    Worklog Id:     (was: 294162)
    Time Spent: 3h 50m  (was: 3h 40m)

> Expose a method to make an Avro-based PCollection into an Schema-based one
> --------------------------------------------------------------------------
>                 Key: BEAM-7802
>                 URL: https://issues.apache.org/jira/browse/BEAM-7802
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
> Avro can infer the Schema for an Avro based PCollection by using the 
> `withBeamSchemas` method, however if the user created a PCollection with Avro 
> objects or IndexedRecord/GenericRecord, he needs to manually set the schema 
> (or coder). The idea is to expose a method in schema.AvroUtils to ease this.

This message was sent by Atlassian JIRA

Reply via email to