diff --git a/pandas_gbq/tests/test_gbq.py b/pandas_gbq/tests/test_gbq.py index e8eda1d3..930a9296 100644 --- a/pandas_gbq/tests/test_gbq.py +++ b/pandas_gbq/tests/test_gbq.py @@ -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 `__. + # 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 + # `__ + @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