ASF GitHub Bot logged work on BEAM-7802:

                Author: ASF GitHub Bot
            Created on: 13/Aug/19 20:20
            Start Date: 13/Aug/19 20:20
    Worklog Time Spent: 10m 
      Work Description: iemejia 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_r313593893

 File path: 
 @@ -127,7 +127,7 @@ public static FixedBytesField withSize(int size) {
     /** Create a {@link FixedBytesField} from a Beam {@link FieldType}. */
-    public static FixedBytesField fromBeamFieldType(FieldType fieldType) {
+    static FixedBytesField fromBeamFieldType(FieldType fieldType) {
 Review comment:
   Yes you are right but that class does a lot other magic too. We should 
probably decide on that later on, but I think is important because these are 
user friendly fixes and the current uber class hides multiple things.
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: 294159)
    Time Spent: 3h 40m  (was: 3.5h)

> 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 40m
>  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