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 — feat(bigtable): Add schema bundle support by ron-gal · Pull Request #2619 · googleapis/java-bigtable

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@ron-gal

@ron-gal ron-gal commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Rollback plan is reviewed and LGTMed
  • All new data plane features have a completed end to end testing plan

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

Sorry, something went wrong.

Uh oh!

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

All reactions
@ron-gal
feat(bigtable): Add schema bundle support
9218e7c
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Jul 2, 2025
ron-gal added 3 commits July 2, 2025 16:43
@ron-gal
minor fix
4b6b412
@ron-gal
fix format
e032e57
@ron-gal
add tests
4783b5e
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. and removed size: l Pull request size is large. labels Jul 2, 2025
ron-gal added 15 commits July 2, 2025 18:04
@ron-gal
add tests
7cf812a
@ron-gal
handled file
fa1376d
@ron-gal
added files
9d83ed7
@ron-gal
fix format
39098e4
@ron-gal
fix files
be4412b
@ron-gal
fix comment
53daf12
@ron-gal
fix
a8e0bd8
@ron-gal
fix test
322d7c9
@ron-gal
fix test
65ebcbb
@ron-gal
fix test
ed1cb53
@ron-gal
fix more tests
3c551e1
@ron-gal
fix more tests
e038402
@ron-gal
fix more tests
e97801b
@ron-gal
fix more tests
07f0688
@ron-gal
fix more tests
3b4e6b4
@ron-gal
ron-gal marked this pull request as ready for review July 2, 2025 20:39
@ron-gal
ron-gal requested review from a team July 2, 2025 20:39
@ron-gal

ron-gal commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

/gcbrun

All reactions

Sorry, something went wrong.

Uh oh!

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

@andre-sampaio andre-sampaio added kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Jul 7, 2025
@andre-sampaio andre-sampaio added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 7, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 7, 2025
ron-gal added 3 commits July 7, 2025 17:00
@ron-gal
use separate tables for tests
c8a53f9
@ron-gal
use separate tables for tests
0370978
@ron-gal
use separate tables for tests
d716247
andre-sampaio
andre-sampaio reviewed Jul 8, 2025
View reviewed changes
Comment thread ...table/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateSchemaBundleRequest.java Outdated
*
* @see SchemaBundleType for details.
*/
public CreateSchemaBundleRequest setProtoSchema(@Nonnull String protoSchemaFile)

@andre-sampaio andre-sampaio Jul 8, 2025

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.

Is it ever valid for a request not to have a protoSchema set? Otherwise we may want to either make it a required argument for creating a CreateSchemaBundleRequest or validate it before converting it to proto

It also feels like requiring a file path is overly restrictive (what if the file is on gcs / some database / etc). Can we accept a string and provide a utility method to read from a file instead if we think that's important (e.g. setProtoSchemaFromFile(Path file))

Sorry, something went wrong.

Uh oh!

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

All reactions

@ron-gal ron-gal Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

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.

We do the same for views and their queries, so I don't think we want to move the protoSchemaFile to the ctor, for consistency.

We could support accept the file contents as byte array, and have the caller get these bytes from anywhere.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/SchemaBundle.java Outdated
/** Gets the schema bundle's id. */
public String getId() {
// Constructor ensures that name is not null.
SchemaBundleName fullName = SchemaBundleName.parse(proto.getName());

@andre-sampaio andre-sampaio Jul 8, 2025

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.

NIT: we can store the parsed SchemaBundleName as an instance member in the constructor

Sorry, something went wrong.

Uh oh!

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

All reactions

@ron-gal ron-gal Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

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.

Done

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...table/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateSchemaBundleRequest.java Outdated
}

/** Changes the deletion protection of an existing schema bundle. */
public UpdateSchemaBundleRequest setProtoSchema(String protoSchemaFile) throws IOException {

@andre-sampaio andre-sampaio Jul 8, 2025

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.

Same comment as from CreateSchemaBundleRequest

Sorry, something went wrong.

Uh oh!

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

All reactions

@ron-gal ron-gal Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

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.

Same answer :)

Sorry, something went wrong.

Uh oh!

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

All reactions
@ron-gal
update according to PR
2c21c56
@ron-gal
ron-gal requested a review from andre-sampaio July 8, 2025 19:43
andre-sampaio
andre-sampaio previously approved these changes Jul 8, 2025
View reviewed changes
@andre-sampaio andre-sampaio added kokoro:run Add this label to force Kokoro to re-run the tests. automerge Merge the pull request once unit tests and other checks pass. labels Jul 8, 2025
@ron-gal
update according to PR
dff78e3
@ron-gal
ron-gal dismissed andre-sampaio’s stale review via dff78e3 July 8, 2025 19:47
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 8, 2025
ron-gal and others added 3 commits July 8, 2025 19:51
@ron-gal
update according to PR
4a7af00
@ron-gal
Update UpdateSchemaBundleRequest.java
8994d78
@ron-gal
fix build
caa24a2
@ron-gal
ron-gal requested a review from andre-sampaio July 8, 2025 21:16
andre-sampaio
andre-sampaio approved these changes Jul 9, 2025
View reviewed changes
@andre-sampaio
andre-sampaio merged commit 7d7b9a9 into googleapis:main Jul 9, 2025
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 9, 2025
@ron-gal
ron-gal deleted the schema_bundles branch July 9, 2025 13:54
@release-please release-please Bot mentioned this pull request Jul 2, 2025
chore(main): release 2.62.0 #2617
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jul 16, 2025
@release-please
chore(main): release 2.62.0 (#2617)
27b44b4
🤖 I have created a release *beep* *boop*
---


## [2.62.0](https://togithub.com/googleapis/java-bigtable/compare/v2.61.0...v2.62.0) (2025-07-15)


### Features

* Add Idempotency to Cloud Bigtable MutateRowRequest API ([b5acca6](https://togithub.com/googleapis/java-bigtable/commit/b5acca6ac4f1eec420adb27bc77aa1bda0ec2dca))
* Add SchemaBundles API ([b5acca6](https://togithub.com/googleapis/java-bigtable/commit/b5acca6ac4f1eec420adb27bc77aa1bda0ec2dca))
* **bigtable:** Add schema bundle support ([#2619](https://togithub.com/googleapis/java-bigtable/issues/2619)) ([7d7b9a9](https://togithub.com/googleapis/java-bigtable/commit/7d7b9a966d3ef7b7a0ef3f82038ab73f4d791427))
* Next release from main branch is 2.62.0 ([#2621](https://togithub.com/googleapis/java-bigtable/issues/2621)) ([202b211](https://togithub.com/googleapis/java-bigtable/commit/202b21102e71da71ff56f19a12d8a00a59cd8107))


### Dependencies

* Minor cleanup ([#2623](https://togithub.com/googleapis/java-bigtable/issues/2623)) ([7b230e8](https://togithub.com/googleapis/java-bigtable/commit/7b230e86902b5733c06e45fad90da76653ee1096))
* Update shared dependencies ([#2616](https://togithub.com/googleapis/java-bigtable/issues/2616)) ([eb7cfd5](https://togithub.com/googleapis/java-bigtable/commit/eb7cfd526aa999c614b7b8285d32759e2739ff9a))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
nicholsl pushed a commit to nicholsl/java-bigtable that referenced this pull request Jul 16, 2025
@ron-gal @nicholsl
feat(bigtable): Add schema bundle support (googleapis#2619)
5a0033c
* feat(bigtable): Add schema bundle support

* minor fix

* fix format

* add tests

* add tests

* handled file

* added files

* fix format

* fix files

* fix comment

* fix

* fix test

* fix test

* fix test

* fix more tests

* fix more tests

* fix more tests

* fix more tests

* fix more tests

* use separate tables for tests

* use separate tables for tests

* use separate tables for tests

* update according to PR

* update according to PR

* update according to PR

* Update UpdateSchemaBundleRequest.java

* fix build
nicholsl pushed a commit to nicholsl/java-bigtable that referenced this pull request Jul 16, 2025
@release-please @nicholsl
chore(main): release 2.62.0 (googleapis#2617)
11938df
🤖 I have created a release *beep* *boop*
---


## [2.62.0](https://togithub.com/googleapis/java-bigtable/compare/v2.61.0...v2.62.0) (2025-07-15)


### Features

* Add Idempotency to Cloud Bigtable MutateRowRequest API ([b5acca6](https://togithub.com/googleapis/java-bigtable/commit/b5acca6ac4f1eec420adb27bc77aa1bda0ec2dca))
* Add SchemaBundles API ([b5acca6](https://togithub.com/googleapis/java-bigtable/commit/b5acca6ac4f1eec420adb27bc77aa1bda0ec2dca))
* **bigtable:** Add schema bundle support ([googleapis#2619](https://togithub.com/googleapis/java-bigtable/issues/2619)) ([7d7b9a9](https://togithub.com/googleapis/java-bigtable/commit/7d7b9a966d3ef7b7a0ef3f82038ab73f4d791427))
* Next release from main branch is 2.62.0 ([googleapis#2621](https://togithub.com/googleapis/java-bigtable/issues/2621)) ([202b211](https://togithub.com/googleapis/java-bigtable/commit/202b21102e71da71ff56f19a12d8a00a59cd8107))


### Dependencies

* Minor cleanup ([googleapis#2623](https://togithub.com/googleapis/java-bigtable/issues/2623)) ([7b230e8](https://togithub.com/googleapis/java-bigtable/commit/7b230e86902b5733c06e45fad90da76653ee1096))
* Update shared dependencies ([googleapis#2616](https://togithub.com/googleapis/java-bigtable/issues/2616)) ([eb7cfd5](https://togithub.com/googleapis/java-bigtable/commit/eb7cfd526aa999c614b7b8285d32759e2739ff9a))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
@release-please release-please Bot mentioned this pull request Dec 15, 2025
chore(protobuf-4.x-rc): release 2.71.0-rc1 #2726
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@andre-sampaio andre-sampaio andre-sampaio approved these changes
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

api: bigtable Issues related to the googleapis/java-bigtable API. size: xl Pull request size is extra large.

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.

3 participants

@ron-gal @andre-sampaio @yoshi-kokoro
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.