Skip to content

[BEAM-383] BigQueryIO update sink to shard into multiple write jobs#707

Closed
ianzhou1 wants to merge 7 commits intoapache:masterfrom
ianzhou1:BigQueryBranch
Closed

[BEAM-383] BigQueryIO update sink to shard into multiple write jobs#707
ianzhou1 wants to merge 7 commits intoapache:masterfrom
ianzhou1:BigQueryBranch

Conversation

@ianzhou1
Copy link
Contributor

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@ianzhou1
Copy link
Contributor Author

R: @dhalperi

*
* <p> the RPC for at most {@code MAX_RPC_ATTEMPTS} times until it succeeds.
*
* @throws IOException if it exceeds max RPC .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like the Javadoc here is incomplete. Neither of these are sentences.

@ianzhou1
Copy link
Contributor Author

R: @dhalperi

public final KV<String, Long> close() throws IOException {
channel.close();
KV<String, Long> result = KV.of(fileName, out.getCount());
LOG.info("Result for bundle {}: {}, {}", this.id, fileName, result.getValue());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop?

@ianzhou1
Copy link
Contributor Author

R: @dhalperi

* {@inheritDoc}
*
* <p> the RPC for at most {@code MAX_RPC_ATTEMPTS} times until it succeeds.
* <p> Tries executing the RPC for at most {@code MAX_RPC_ATTEMPTS} times until it succeeds.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no space after p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants