Skip to content

fix: avoid 403 response too large to return error with read_gbq and large query results #77

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

Merged
merged 13 commits into from
Oct 3, 2023
Merged
Prev Previous commit
Next Next commit
use fully qualified table ID
  • Loading branch information
tswast committed Oct 3, 2023
commit a01f03d73563cd89dc671145737054749b6be578
4 changes: 3 additions & 1 deletion bigframes/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,9 @@ def _create_sequential_ordering(
cluster_cols=list(index_cols) + [default_ordering_name],
api_name=api_name,
)
table = self.ibis_client.sql(f"SELECT * FROM `{table_ref.table_id}`")
table = self.ibis_client.table(
f"{table_ref.project}.{table_ref.dataset_id}.{table_ref.table_id}"
)
ordering_reference = core.OrderingColumnReference(default_ordering_name)
ordering = core.ExpressionOrdering(
ordering_value_columns=[ordering_reference],
Expand Down