GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(bigquery): fix inverted and factually outdated Javadocs by lqiu96 · Pull Request #15118 · googleapis/google-cloud-java

Conversation

@lqiu96

@lqiu96 lqiu96 commented Nov 20, 2026

Copy link
Copy Markdown
Member

Fixes seven inverted or factually outdated Javadocs across java-bigquery (documentation and comment changes only, with no behavioral or API signature changes):

  • InsertAllResponse.hasErrors(): Javadoc was inverted (stated true when no row failed, while the implementation returns !insertErrors.isEmpty()).
  • LoadConfiguration.ignoreUnknownValues() / setIgnoreUnknownValues(): Fixed duplicated If {@code true} typo on the getter (the second branch is false, matching the builder) and clarified Defaults to {@code false} on both.
  • DatasetInfo: Removed outdated claim that access cannot be controlled at the table level (BigQuery exposes table-level IAM methods) and added a link to Control access to resources with IAM.
  • TableInfo.setLabels() / getLabels(): Removed outdated "labels are experimental" text (matching DatasetInfo, leaving @BetaApi annotations untouched) and added a link to Introduction to labels.
  • QueryParameterValue: Replaced outdated "Struct parameters are currently not supported" with @link pointers to array(...) and struct(Map), which are implemented in the same class.
  • Range: Fixed [DATE, TIME, TIMESTAMP] to [DATE, DATETIME, TIMESTAMP] (matching line 86 and BigQuery SQL) and added links to BigQuery Range type.
  • BigQuery.query(): Removed obsolete QUERY_PREVIEW_ENABLED environment variable docs (removed in Release v0.67.0 #3804 / commit 8fab9f2ef4a3 when JobCreationMode reached GA).

Verification

  • Verified fmt:check, checkstyle:check@checkstyle, test-compile, and javadoc -Xdoclint:syntax,html,reference.
  • Verified all linked documentation URLs return HTTP 200.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@lqiu96
docs(bigquery): fix inverted and factually outdated Javadocs
87a6ce0
Fix seven inverted or factually outdated Javadocs across java-bigquery:
- InsertAllResponse.hasErrors(): fix inverted boolean documentation (!insertErrors.isEmpty()).
- LoadConfiguration.ignoreUnknownValues() / setIgnoreUnknownValues(): fix duplicated 'If true' typo and clarify default is false.
- DatasetInfo: replace outdated 'cannot control access at the table level' claim with table/view access note and IAM docs link.
- TableInfo.setLabels() / getLabels(): remove outdated 'labels are experimental' wording (leaving @BetaApi unchanged) and add labels docs link.
- QueryParameterValue: replace 'Struct parameters are currently not supported' with links to array() and struct().
- Range: fix [DATE, TIME, TIMESTAMP] to [DATE, DATETIME, TIMESTAMP] and add Range type docs links.
- BigQuery.query(): remove obsolete QUERY_PREVIEW_ENABLED docs (removed in googleapis#3804 / 8fab9f2).

Verified with fmt:check, checkstyle:check@checkstyle, test-compile, and javadoc -Xdoclint:syntax,html,reference.
@lqiu96
lqiu96 requested review from a team as code owners November 20, 2026 22:33
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Nov 20, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 updates and corrects the Javadoc documentation across several classes in the google-cloud-bigquery library. Key updates include removing outdated references to experimental features (such as query preview features and table labels), correcting documentation typos (such as fixing the description of InsertAllResponse.hasErrors() and LoadConfiguration's unknown values handling), updating supported types for Range (correcting TIME to DATETIME), and adding helpful links to official Google Cloud documentation. There are no review comments to address, and we have no additional feedback to provide.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lqiu96 lqiu96 mentioned this pull request Nov 20, 2026
docs(bigquery): update malformed and legacy documentation URLs #15123
Merged
jinseopkim0
jinseopkim0 approved these changes Nov 20, 2026
View reviewed changes
@lqiu96
lqiu96 merged commit 7fca6aa into googleapis:main Nov 20, 2026
198 checks passed

Uh oh!

There was an error while loading. Please reload this page.

lqiu96 added a commit that referenced this pull request Nov 21, 2026
@lqiu96
docs(bigquery): update malformed and legacy documentation URLs (#15123)
e628795
Updates 157 malformed, legacy, and broken-anchor documentation URLs
across 33 files in `java-bigquery` (Javadoc and comment-only, no
behavioral changes).

### Summary of changes

- Fix malformed `hhttps://` URL in `ExternalTableDefinition.java`.
- Replace pre-`/docs/` `cloud.google.com/bigquery/...` links (which no
longer resolve to canonical documentation pages or drop section anchors)
with canonical `https://docs.cloud.google.com/bigquery/...` destinations
and exact section anchors (for example, `quotas#query_jobs`,
`sessions#create-session`, `adding-labels#adding_dataset_labels`, and
`biglake-intro#metadata_caching_for_performance`).
- Update legacy `/docs/reference/v2/...` URLs and broken camelCase
anchors to `/docs/reference/rest/v2/...` with live REST schema, field,
and enum anchors (including pointing `JobInfo` and `BigQuery.JobField`
to `/rest/v2/Job`, `LoadConfiguration.setFormatOptions` to
`Job#JobConfigurationLoad.FIELDS.source_format`,
`ExternalTableDefinition` and `CopyJobConfiguration` to exact
`.FIELDS.*` anchors, `RoutineInfo` to `#routinetype` and
`#datagovernancetype`, and `BigQuery.TableMetadataView`'s link label to
`TableMetadataView`).
- Fix wrong-topic links for `TableDefinition.Type.MATERIALIZED_VIEW`
(`materialized-views-intro`), `ModelTableDefinition`, and
`TableDefinition.Type.MODEL` (`bqml-introduction`).
- Replace the legacy `developers.google.com` Discovery Javadoc link in
`BigQueryDryRunResult.java` with the canonical REST
`Job#JobStatistics2.FIELDS.undeclared_query_parameters` anchor.
- Update broken `cloud.google.com/bigquery/pricing#storage` and
`#long-term-storage` anchors to `#storage-pricing`.
- Migrate remaining `cloud.google.com/bigquery/docs/...` and
`cloud.google.com/iam/docs/...` links to `docs.cloud.google.com`.

Note: Four lines currently touched by open PRs #15117 and #15118 are
skipped here to avoid merge conflicts (`DatasetInfo.java:41` will be
updated in a follow-up after #15118 merges). Historical GitHub issue
comments are preserved.

### Verification

- Every unique target URL (71/71) verified live with HTTP 200, 0
redirects, and matching HTML `id=` anchors where fragments are present
- `mvn -pl java-bigquery/google-cloud-bigquery
com.spotify.fmt:fmt-maven-plugin:check -Dlint
checkstyle:check@checkstyle test-compile` (0 Checkstyle violations)
- `javadoc -Xdoclint:syntax,html,reference` on all 33 modified files (0
warnings/errors)
@lqiu96 lqiu96 mentioned this pull request Nov 21, 2026
docs(bigquery): update legacy DatasetInfo documentation URL lqiu96/google-cloud-java#35
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jinseopkim0 jinseopkim0 jinseopkim0 approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lqiu96 @jinseopkim0
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.