[
https://issues.apache.org/jira/browse/BEAM-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078793#comment-16078793
]
ASF GitHub Bot commented on BEAM-2570:
--------------------------------------
GitHub user markflyhigh opened a pull request:
https://github.com/apache/beam/pull/3523
[BEAM-2570] Fix breakage after cloud-bigquery updated
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [x] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`.
- [ ] 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](https://www.apache.org/licenses/icla.pdf).
---
Fix BigqueryTornadoesIT failure when google-cloud-bigquery updated to
`0.25.0`. The new version changes `query.fetch_data()` return type.
Test is done by locally running BigqueryTornadoesIT against Dataflow
service.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markflyhigh/incubator-beam
update-cloud-bigquery-lib
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/3523.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 #3523
----
commit cca5f6b36e239e686592fce20abe6155d9d78f87
Author: Mark Liu <[email protected]>
Date: 2017-07-07T22:20:12Z
[BEAM-2570] Fix breakage after cloud-bigquery updated
----
> Python Post commit tests are failing
> ------------------------------------
>
> Key: BEAM-2570
> URL: https://issues.apache.org/jira/browse/BEAM-2570
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Affects Versions: 2.1.0
> Reporter: Ahmet Altay
> Assignee: Ahmet Altay
> Priority: Blocker
> Fix For: 2.1.0
>
>
> Started at:
> https://builds.apache.org/view/Beam/job/beam_PostCommit_Python_Verify/2660/
> Likekly cuplrit: https://github.com/apache/beam/pull/3497
> Dataflow job succeeds:
> https://console.cloud.google.com/dataflow/job/2017-07-05_17_12_30-9257778732971419782?project=apache-beam-testing
> Validation fails:
> root: WARNING: Retry with exponential backoff: waiting for 4.03512626532
> seconds before retrying _query_with_retry because we caught exception:
> ValueError: too many values to unpack
> Traceback for above exception (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/utils/retry.py",
> line 168, in wrapper
> return fun(*args, **kwargs)
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/io/gcp/tests/bigquery_matcher.py",
> line 95, in _query_with_retry
> rows, _, page_token = query.fetch_data(page_token=page_token)
> cc: [~markflyhigh]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)