feat(bigtable): Add support for data APIs for materialized views#2508
feat(bigtable): Add support for data APIs for materialized views#2508gcf-merge-on-green[bot] merged 5 commits intogoogleapis:mainfrom
Conversation
|
/gcbrun |
42c9da4 to
4c48d5b
Compare
| // Materialized Views are read only entities. | ||
| BulkMutation bulkMutation = | ||
| BulkMutation.create(NameUtil.extractTargetId(tableName, authorizedViewName)); | ||
| BulkMutation.create(NameUtil.extractTargetId(tableName, authorizedViewName, "")); |
There was a problem hiding this comment.
Since we have a very clear scenario for which it never makes sense to pass the third parameter (any kind of mutation), maybe create an overload for extractTargetId with only the first 2 parameters
| } | ||
|
|
||
| /** A helper to convert fully qualified tableName andauthorizedViewName to a {@link TargetId} */ | ||
| public static TargetId extractTargetId( |
There was a problem hiding this comment.
Now this overload can just proxy the request to the other one so we don't have the logic duplicated
|
Regarding the That's a check for possible breaking changes, but we consider |
Done |
|
/gcbrun |
🤖 I have created a release *beep* *boop* --- ## [2.55.0](https://togithub.com/googleapis/java-bigtable/compare/v2.54.0...v2.55.0) (2025-03-11) ### Features * Add MaterializedViewName to ReadRows and SampleRowKeys ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * Add MaterializedViews and LogicalViews APIs ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * Add MaterializedViews and LogicalViews APIs ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) * Add PrepareQuery api and update ExecuteQuery to support it ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * **bigtable:** Add support for data APIs for materialized views ([#2508](https://togithub.com/googleapis/java-bigtable/issues/2508)) ([6310a63](https://togithub.com/googleapis/java-bigtable/commit/6310a631be3345f97d73b50f3b458fe40b071286)) * **large-row-skip:** Added large-row-skip-callable with configurable rowadapter ([#2509](https://togithub.com/googleapis/java-bigtable/issues/2509)) ([ba193ef](https://togithub.com/googleapis/java-bigtable/commit/ba193ef771f913e6e6a1aca630fe52d0921ee077)) * Next release from main branch is 2.55.0 ([#2506](https://togithub.com/googleapis/java-bigtable/issues/2506)) ([4e45837](https://togithub.com/googleapis/java-bigtable/commit/4e458378cc25a4dc5ac3fd1362626d89f0138186)) * Publish row_key_schema fields in table proto and relevant admin APIs to setup a table with a row_key_schema ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) ### Bug Fixes * **deps:** Update the Java code generator (gapic-generator-java) to 2.54.0 ([91e4369](https://togithub.com/googleapis/java-bigtable/commit/91e4369d280c09fd2d1b4b5dd88809b6da01b0f8)) ### Documentation * Fixed formatting of resource path strings ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
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: - [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/java-bigtable/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Rollback plan is reviewed and LGTMed - [x] 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]( https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
🤖 I have created a release *beep* *boop* --- ## [2.55.0](https://togithub.com/googleapis/java-bigtable/compare/v2.54.0...v2.55.0) (2025-03-11) ### Features * Add MaterializedViewName to ReadRows and SampleRowKeys ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * Add MaterializedViews and LogicalViews APIs ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * Add MaterializedViews and LogicalViews APIs ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) * Add PrepareQuery api and update ExecuteQuery to support it ([1763c6e](https://togithub.com/googleapis/java-bigtable/commit/1763c6e9304010ed4034e1ddd03fdb94bca615dc)) * **bigtable:** Add support for data APIs for materialized views ([#2508](https://togithub.com/googleapis/java-bigtable/issues/2508)) ([6310a63](https://togithub.com/googleapis/java-bigtable/commit/6310a631be3345f97d73b50f3b458fe40b071286)) * **large-row-skip:** Added large-row-skip-callable with configurable rowadapter ([#2509](https://togithub.com/googleapis/java-bigtable/issues/2509)) ([ba193ef](https://togithub.com/googleapis/java-bigtable/commit/ba193ef771f913e6e6a1aca630fe52d0921ee077)) * Next release from main branch is 2.55.0 ([#2506](https://togithub.com/googleapis/java-bigtable/issues/2506)) ([4e45837](https://togithub.com/googleapis/java-bigtable/commit/4e458378cc25a4dc5ac3fd1362626d89f0138186)) * Publish row_key_schema fields in table proto and relevant admin APIs to setup a table with a row_key_schema ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) ### Bug Fixes * **deps:** Update the Java code generator (gapic-generator-java) to 2.54.0 ([91e4369](https://togithub.com/googleapis/java-bigtable/commit/91e4369d280c09fd2d1b4b5dd88809b6da01b0f8)) ### Documentation * Fixed formatting of resource path strings ([7340527](https://togithub.com/googleapis/java-bigtable/commit/73405272c3fc77ca81c1df7cce1b8d889d4a96c4)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
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:
Fixes #<issue_number_goes_here> ☕️
If you write sample code, please follow the samples format.