GitHub user katsiapis opened a pull request:
https://github.com/apache/incubator-beam/pull/946
[BEAM-625] Making Dataflow Python Materialized PCollection representation
more efficient (4 of several).
- Refactoring code in avroio.py to allow for re-use.
- Making sure that _AvroUtils validates the sync_marker.
This should detect corrupted or not-properly formatted AVRO files.
- Simplifying block reading.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/katsiapis/incubator-beam python-sdk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/946.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #946
----
commit cbe928c2d6d2cb79adecde615f3c2d86152dae2d
Author: Gus Katsiapis <[email protected]>
Date: 2016-09-12T17:11:44Z
Refactorings and enhancements in avroio to allow for reuse.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---