-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BEAM-22] Use an explicit coder in XmlSourceTest #112
Conversation
The standard coder for an XML source is the JAXBCoder, which is not suitable as part of a composite coder.
R: @bjchambers |
@dhalperi for discussion. If |
LGTM, will merge pending discussion. |
PCollection<Train> output = p.apply(Read.from(source).named("ReadFileData")); | ||
AvroCoder<Train> intermediateCoder = AvroCoder.of(Train.class); | ||
PCollection<Train> output = | ||
p.apply(Read.from(source).named("ReadFileData")).setCoder(intermediateCoder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update to the happy apply
syntax (aka, drop 'named').
R: @dhalperi so the scripts pick it up. |
Please put |
My main comment is that we should probably fix JAXBCoder to behave correctly in inner context. That is backwards-incompatible, but it fixes a bug that is probably causing crashes if users are using it this way. |
R: @davorbonaci to comment on backwards-incompatible change. |
Replaced by #116 |
apache#13 [euphoria-flink] Batch executor uses hash code as a key in shufflles
* refactor: remove async unit test nox session * refactor: remove async unit test directory * fix: noxfile unit test imports and arglist
SQL PTransform Update.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull request
mvn clean verify
. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
number, if there is one.
Individual Contributor License Agreement.
The standard coder for an XML source is the JAXBCoder, which is not
suitable as part of a composite coder.
This is required for [BEAM-22], due to the implementation of
CreatePCollectionView.