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

fix: don't download 100gb onto local python machine in load test #537

Merged
merged 2 commits into from
Mar 28, 2024
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
8 changes: 2 additions & 6 deletions tests/system/load/test_large_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,9 @@ def test_index_repr_large_table():
assert actual is not None


# FAILED
# tests/system/load/test_large_tables.py::test_to_pandas_batches_large_table
# google.api_core.exceptions.Forbidden: 403 Response too large to return.
# Consider specifying a destination table in your job...
@pytest.mark.xfail
def test_to_pandas_batches_large_table():
df = bpd.read_gbq("load_testing.scalars_100gb")
df = bpd.read_gbq("load_testing.scalars_10gb")
# df will be downloaded locally
expected_row_count, expected_column_count = df.shape

row_count = 0
Expand Down