GitHub user chamikaramj opened a pull request:
https://github.com/apache/incubator-beam/pull/672
[BEAM-360] Adds a PTransform for Avro source and updates snippets.
Wrapping a custom source as a 'PTransform' is better than directly using
the source using 'df.Read' since the 'PTransform' can be extended without
breaking end-user code.
Updates the documentation of avroio module.
Adds 'PTransform' wrappers to custom sources and sinks in 'snippets.py'.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chamikaramj/incubator-beam
snippets_source_sink_ptransforms
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/672.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 #672
----
commit 0f206bd4581a341cec0c29348aa68d552b7f5a00
Author: Charles Chen <[email protected]>
Date: 2016-07-15T21:37:43Z
Adds a PTransform for Avro source.
Wrapping a custom source as a PTransform is better than directly using the
source using df.Read since the PTransform can be extended without breaking
end-user code.
Updates the documentation of avroio module.
Adds PTransform wrappers to custom sources and sinks in snippets.py.
----
---
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.
---