Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade libraries-bom to 26.34.0 and add spanner support float32 type #2662

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Mar 8, 2024

spanner client library added new feat googleapis/java-spanner#2894 in v6.61.0, changes in spanner module accordingly to support it.

This change is covered by existing tests: SpannerWriteMethodCoverageTests and SpannerStructReadMethodCoverageTests.
These tests checks that the converter is aware of all Spanner mutation binder types (to write) & struct getter types (to read).

This should fix test failures in #2659 (comment), and closes #2659.

Need to back-port to 4.x and 3.x branches

BEGIN_COMMIT_OVERRIDE
deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0

feat(spanner): support float32 type.
END_COMMIT_OVERRIDE

dependabot bot and others added 2 commits March 8, 2024 04:19
Bumps [com.google.cloud:libraries-bom](https://github.com/googleapis/java-cloud-bom) from 26.33.0 to 26.34.0.
- [Release notes](https://github.com/googleapis/java-cloud-bom/releases)
- [Changelog](https://github.com/googleapis/java-cloud-bom/blob/main/release-please-config.json)
- [Commits](googleapis/java-cloud-bom@v26.33.0...v26.34.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:libraries-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@zhumin8 zhumin8 requested a review from a team as a code owner March 8, 2024 18:43
@zhumin8
Copy link
Contributor Author

zhumin8 commented Mar 8, 2024

it test failure:

Error: 9:503 [ERROR] Errors: 
Error: 9:503 [ERROR]   BigQueryFileMessageHandlerIntegrationTests.setup:74 » BigQuery Exceeded rate limits: too many table update operations for this table.

@zhumin8 zhumin8 changed the title upgrade libraries-bom to 26.34.0 and add spanner support float32 type fix: upgrade libraries-bom to 26.34.0 and add spanner support float32 type Mar 8, 2024
@JoeWang1127
Copy link
Contributor

Could you add a unit test to verify the behavior, or why it can't be tested?

@zhumin8
Copy link
Contributor Author

zhumin8 commented Mar 8, 2024

Could you add a unit test to verify the behavior, or why it can't be tested?

Ah, good point. Adding them in now.

This change is covered by existing tests: SpannerWriteMethodCoverageTests and SpannerStructReadMethodCoverageTests, but additional unit tests are added in b012c9d

Copy link

sonarcloud bot commented Mar 8, 2024

@zhumin8
Copy link
Contributor Author

zhumin8 commented Mar 11, 2024

@JoeWang1127 Can you please take another look?

@zhumin8 zhumin8 merged commit 4cad2f6 into main Mar 11, 2024
54 checks passed
@zhumin8 zhumin8 deleted the spanner-float-binders branch March 11, 2024 19:55
zhumin8 added a commit that referenced this pull request Mar 11, 2024
… type (#2662)

* deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0

Bumps [com.google.cloud:libraries-bom](https://github.com/googleapis/java-cloud-bom) from 26.33.0 to 26.34.0.
- [Release notes](https://github.com/googleapis/java-cloud-bom/releases)
- [Changelog](https://github.com/googleapis/java-cloud-bom/blob/main/release-please-config.json)
- [Commits](googleapis/java-cloud-bom@v26.33.0...v26.34.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:libraries-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(spanner): support float32 type.

* chore: add unit tests for float32.

* fix: add float32 to type mapper and corresponding unit tests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
zhumin8 added a commit that referenced this pull request Mar 11, 2024
… type (#2662)

* deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0

Bumps [com.google.cloud:libraries-bom](https://github.com/googleapis/java-cloud-bom) from 26.33.0 to 26.34.0.
- [Release notes](https://github.com/googleapis/java-cloud-bom/releases)
- [Changelog](https://github.com/googleapis/java-cloud-bom/blob/main/release-please-config.json)
- [Commits](googleapis/java-cloud-bom@v26.33.0...v26.34.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:libraries-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(spanner): support float32 type.

* chore: add unit tests for float32.

* fix: add float32 to type mapper and corresponding unit tests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
zhumin8 added a commit that referenced this pull request Mar 12, 2024
… type (#2662) (#2667)

* deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0

Bumps [com.google.cloud:libraries-bom](https://github.com/googleapis/java-cloud-bom) from 26.33.0 to 26.34.0.
- [Release notes](https://github.com/googleapis/java-cloud-bom/releases)
- [Changelog](https://github.com/googleapis/java-cloud-bom/blob/main/release-please-config.json)
- [Commits](googleapis/java-cloud-bom@v26.33.0...v26.34.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:libraries-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* feat(spanner): support float32 type.

* chore: add unit tests for float32.

* fix: add float32 to type mapper and corresponding unit tests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
zhumin8 added a commit that referenced this pull request Mar 13, 2024
… type (#2662) (#2668)

* deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0

Bumps [com.google.cloud:libraries-bom](https://github.com/googleapis/java-cloud-bom) from 26.33.0 to 26.34.0.
- [Release notes](https://github.com/googleapis/java-cloud-bom/releases)
- [Changelog](https://github.com/googleapis/java-cloud-bom/blob/main/release-please-config.json)
- [Commits](googleapis/java-cloud-bom@v26.33.0...v26.34.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:libraries-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* feat(spanner): support float32 type.

* chore: add unit tests for float32.

* fix: add float32 to type mapper and corresponding unit tests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
meltsufin added a commit that referenced this pull request May 14, 2024
meltsufin added a commit that referenced this pull request May 15, 2024
burkedavison pushed a commit that referenced this pull request May 15, 2024
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.

None yet

2 participants