Skip to content

BigQuery: Make BigQueryMetastoreCatalog.initialize() with client argument public#16930

Open
ascend1 wants to merge 1 commit into
apache:mainfrom
ascend1:ascend1/make-bq-metastore-init-public
Open

BigQuery: Make BigQueryMetastoreCatalog.initialize() with client argument public#16930
ascend1 wants to merge 1 commit into
apache:mainfrom
ascend1:ascend1/make-bq-metastore-init-public

Conversation

@ascend1

@ascend1 ascend1 commented Jun 22, 2026

Copy link
Copy Markdown

Summary

The 5-argument BigQueryMetastoreCatalog.initialize() overload that accepts a pre-built BigQueryMetastoreClient was @VisibleForTesting and package-private. External callers who need to inject a custom-credentialed client (e.g. service-account impersonation, OAuth tokens) had to resort to reflection. Making this overload public provides a stable, supported API for that use case.

A related issue #13036 was rasied before but closed due to inactivity.

Testing

Relying on existing tests and they should all pass as before.

…public

The 5-argument initialize() overload that accepts a pre-built
BigQueryMetastoreClient was @VisibleForTesting / package-private.
External callers who need to inject a custom-credentialed client
(e.g. service-account impersonation, OAuth tokens) had to resort to
reflection. Making this overload public provides a stable, supported
API for that use case.

A related issue apache#13036 was
rasied before but closed due to inactivity.
@github-actions github-actions Bot added the GCP label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant