Skip to content

[BEAM-6611] BigQuery file loads in Streaming for Python SDK#8871

Merged
pabloem merged 8 commits intoapache:masterfrom
ttanay:beam-6611
Jul 27, 2019
Merged

[BEAM-6611] BigQuery file loads in Streaming for Python SDK#8871
pabloem merged 8 commits intoapache:masterfrom
ttanay:beam-6611

Conversation

@ttanay
Copy link
Copy Markdown
Contributor

@ttanay ttanay commented Jun 16, 2019

Added support for writing to BigQuery via file loads for the Python SDK.
Main PR towards my GSoC project.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@ttanay ttanay force-pushed the beam-6611 branch 2 times, most recently from cc1e01d to 2f510bf Compare June 17, 2019 11:05
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 17, 2019

Run Python PostCommit

@ttanay ttanay force-pushed the beam-6611 branch 4 times, most recently from f517951 to bb16f24 Compare June 22, 2019 21:53
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 23, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 24, 2019

Run Portable_Python PreCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 24, 2019

Run Python PostCommit

4 similar comments
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 27, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 27, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jun 28, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 2, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 2, 2019

This depends on #8934.
This makes use of a BigQuery matcher that polls BQ for results, that was introduced in #8934.

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 9, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 11, 2019

Run Python PreCommit

1 similar comment
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 11, 2019

Run Python PreCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 11, 2019

Run Python PreCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 12, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 13, 2019

Run Python PreCommit

1 similar comment
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 13, 2019

Run Python PreCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 13, 2019

Run Python PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 20, 2019

Run Python 3.5 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 20, 2019

Run Python 3.6 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 20, 2019

Run Python 3.7 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 20, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 21, 2019

Run Python 2 PostCommit

1 similar comment
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 21, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 21, 2019

The failure in Python PreCommit is die to task - :sdks:python:docs.
The failure in Python 2 PostCommit is due to task - :sdks:python:crossLanguagePortableWordCount.
All tests in task :sdks:python:directRunnerIT pass ☑️

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 22, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 22, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 22, 2019

Run Python_PVR_Flink PreCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 22, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 22, 2019

The same test - apache_beam.io.gcp.bigquery_io_read_it_test.BigqueryIOReadIT.test_bigquery_read_1M_python is failing on the master as well. The streaming tests in :sdks:python:directRunnerIT aren't being run due to it.

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 23, 2019

Run Python 2 PostCommit

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 25, 2019

Run Python 2 PostCommit

@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jul 25, 2019

This looks good to me Tanay. The test looks good too. Let's add any pending changes, and ensure the tests pass - and we can merge.

@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 26, 2019

I've made the remaining changes:

  • Limitations comment
  • Change in load job names

All tests pass ✔️
We can merge :)

@pabloem pabloem merged commit 6cf3b11 into apache:master Jul 27, 2019
@ttanay
Copy link
Copy Markdown
Contributor Author

ttanay commented Jul 27, 2019

Thank You @pabloem!

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.

3 participants