Skip to content
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

TST: xfail test replace schema due change in BQ backend #77

Merged
merged 1 commit into from
Aug 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pandas_gbq/tests/test_gbq.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,17 @@ def test_upload_subset_columns_if_table_exists_append(self):
private_key=_get_private_key_path())
assert result['num_rows'][0] == test_size * 2

# This test is currently failing intermittently due to changes in the
# BigQuery backend. You can track the issue in the Google BigQuery issue
# tracker `here <https://issuetracker.google.com/issues/64329577>`__.
# Currently you need to stream data twice in order to successfully stream
# data when you delete and re-create a table with a different schema.
# Something to consider is that google-cloud-bigquery returns an array of
# streaming insert errors rather than raising an exception. In this
# scenario, a decision could be made by the user to check for streaming
# errors and retry as needed. See `Issue 75
# <https://github.com/pydata/pandas-gbq/issues/75>`__
@pytest.mark.xfail(reason="Delete/create table w/ different schema issue")
def test_upload_data_if_table_exists_replace(self):
test_id = "4"
test_size = 10
Expand Down