[BEAM-9795] Support custom avro DatumWriters when writing to BigQuery#11479
Merged
pabloem merged 1 commit intoapache:masterfrom Apr 30, 2020
Merged
[BEAM-9795] Support custom avro DatumWriters when writing to BigQuery#11479pabloem merged 1 commit intoapache:masterfrom
pabloem merged 1 commit intoapache:masterfrom
Conversation
8a92ddc to
ce75c4f
Compare
Contributor
Author
|
hm, looks like the precommit is failing with: which hopefully my change didn't break ;) |
Member
|
Hi Steve! thanks for the feature. I'll take a look hopefully by friday |
Contributor
Author
|
thanks! |
Contributor
Author
|
bump? |
Member
|
ah yes sorry Steve. Thanks for the contribution. This looks good to me. I'll just rerun precomits to get a green run, and run postcommits as well. |
Member
|
Run Java PostCommit |
Member
|
Run Java PreCommit |
Contributor
Author
|
thanks! I'm going to have a similar PR for AvroIO coming up, do you know who's best to review that? edit: hmm looks like this pre-commit broke again w/ the license error, do I need to rebase this? |
Member
|
since it's only that task that failed, we can merge anyway. For AvroIO - I think @iemejia may be a good candidate. |
Member
|
thanks @steveniemitz ! |
4 tasks
3 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are cases where we'd like to further control the user record -> avro process. For example, I might not want to write generic records, but instead use my own DatumWriter instance to do the avro writing.
This PR simply allows further customizing the AvroRowWriter that is created during pipeline construction, allowing the user to hook into the DatumWriter construction.
R: @pabloem @chamikaramj
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.