You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/01/02 12:14:42 UTC
[GitHub] [beam] anantdamle commented on pull request #13639: [BEAM-11526] Add Beam schema support for ParquetIO reads.
anantdamle commented on pull request #13639:
URL: https://github.com/apache/beam/pull/13639#issuecomment-753466732
@iemejia
I observed that [AvroIO#setBeamSchema](https://github.com/apache/beam/blob/2462fe996626874a6a11f35c00405acc831c8dfd/sdks/java/core/src/main/java/org/apache/beam/sdk/io/AvroIO.java#L570) can be simplified to
```java
pc.setCoder(AvroUtils.schemaCoder(clazz, schema));
```
Do you think I should include this change in same PR or a separate PR
----------------------------------------------------------------
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:
users@infra.apache.org