Skip to content

refactor(bigquery)!: rename set_max_results to set_page_size - #6774

Merged
alvarowolfx merged 6 commits into
googleapis:mainfrom
alvarowolfx:refactor-bq-page-size
Sep 14, 2026
Merged

alvarowolfx merged 6 commits into
googleapis:mainfrom
alvarowolfx:refactor-bq-page-size

Conversation

@alvarowolfx

@alvarowolfx alvarowolfx commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Per API review discussion and also following what BigQuery did in their MCP server, we will rename max_results to page_size and later down the line introduce a setting to control size in bytes (relevant to Storage integration and arrow support)

Last breaking change before stable release.

Towards #5844

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames the max_results field and its associated builder methods to page_size across the BigQuery crate, including examples, tests, and generated code configurations. This is driven by a new name override configuration in librarian.yaml. I have no feedback to provide.

@alvarowolfx
alvarowolfx marked this pull request as ready for review September 10, 2026 15:33
@alvarowolfx
alvarowolfx requested review from a team as code owners September 10, 2026 15:33
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.02%. Comparing base (c5563c1) to head (18de0fd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6774   +/-   ##
=======================================
  Coverage   97.02%   97.02%           
=======================================
  Files         326      326           
  Lines      107430   107430           
=======================================
  Hits       104238   104238           
  Misses       3192     3192           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alvarowolfx
alvarowolfx marked this pull request as draft September 10, 2026 16:02
@alvarowolfx
alvarowolfx marked this pull request as ready for review September 11, 2026 22:16
@alvarowolfx alvarowolfx added the api: bigquery Issues related to the BigQuery API. label Sep 14, 2026
@alvarowolfx
alvarowolfx requested a review from dbolduc September 14, 2026 16:16
@alvarowolfx
alvarowolfx merged commit 910893d into googleapis:main Sep 14, 2026
42 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants