Skip to content

fix: add documentation for insertall api that there's no default retry - #13953

Open
GaoleMeng wants to merge 1 commit into
googleapis:mainfrom
GaoleMeng:main
Open

fix: add documentation for insertall api that there's no default retry#13953
GaoleMeng wants to merge 1 commit into
googleapis:mainfrom
GaoleMeng:main

Conversation

@GaoleMeng

Copy link
Copy Markdown
Contributor

Add documentation for insertall that there's no default behavior

@GaoleMeng
GaoleMeng requested review from a team as code owners July 29, 2026 22:41

@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 adds Javadoc documentation to the insertAll method in BigQueryImpl to clarify retry behavior and exception handling. The reviewer noted that since BigQueryImpl is an internal implementation class, this documentation should be moved or copied to the BigQuery interface so that it is visible to library consumers in their IDEs.

Comment on lines +1660 to +1665
/**
* Inserts the specified rows into a table using the BigQuery insertAll API.
* Note: To prevent duplicate rows, this method does not perform automatic retries unless
* insert IDs are provided. Transient service errors (such as UNAVAILABLE) may be thrown and
* should be handled by the caller.
*/

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.

medium

This Javadoc contains crucial information about the retry behavior and exception handling of the insertAll API. However, because BigQueryImpl is an internal implementation class, developers using this library typically interact with the BigQuery interface. Javadoc placed here will not be visible to users in their IDEs when calling BigQuery.insertAll(...). Please move or copy this Javadoc documentation to the insertAll(InsertAllRequest) method in the BigQuery interface so that it is properly exposed to library consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant