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: support float32 type by arawind · Pull Request #2894 · googleapis/java-spanner

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

Conversation

@arawind

@arawind arawind commented Feb 16, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

TODO:

  • Remove the isCloudDevel check once FLOAT32 is supported in production (will be done after merging)
  • Un-ignore the float32 parameter tests that are waiting for a backend fix.

Sorry, something went wrong.

Uh oh!

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

All reactions
arawind added 5 commits February 16, 2024 00:17
@arawind
feat: float32 changes with unit and integration tests
1d64140
@arawind
Merge branch 'main' into float32-v2
5a7fdc2
@arawind
Undo the changes to GceTestEnvConfig
1358bbb
@arawind
Update formatting and clirr
74b01e5
@arawind
Update the hashCode logic to account for NaN equality
6789155
@arawind
arawind requested review from a team February 16, 2024 16:13
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. api: spanner Issues related to the googleapis/java-spanner API. labels Feb 16, 2024
@arawind
Prevent FLOAT32 integration tests from running on emulator and produc…
f1dbc8f
…tion
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 20, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 20, 2024
arawind added 8 commits February 20, 2024 12:34
@arawind
Add a kokoro presubmit workflow to run on cloud-devel.
5b493fa
@arawind
Prevent FLOAT32 schema from being added if the env is not cloud-devel
80f80a9
@arawind
Merge branch 'main' into float32-v2
924ef75
@arawind
Merge branch 'main' into float32-v2
253c5f1
@arawind
Revert "Add a kokoro presubmit workflow to run on cloud-devel."
fac44f0
This reverts commit 5b493fa.
@arawind
Merge branch 'main' into float32-v2
391f735
@arawind
Fix integration tests for FLOAT32
3e63abd
@arawind
Update float32UntypedParameters test to work with PG dialect too
b64e627
@arawind arawind added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
arawind and others added 5 commits February 23, 2024 12:15
@arawind
Remove FLOAT32 changes in CreateMusicTables.sql as the type isn't ful…
e18fd3f
…ly supported yet in production
@gcf-owl-bot
🦉 Updates from OwlBot post-processor
202b10c
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
@arawind
Merge branch 'float32-v2' of github.com:arawind/java-spanner into flo…
34a10e2
…at32-v2
@arawind
Split the parameters test in ITQueryTest into supported + currently-u…
fda3987
…nsupported tests.
@arawind
Merge branch 'main' into float32-v2
dbd12a9
@arawind
arawind force-pushed the float32-v2 branch from 2dec188 to dbd12a9 Compare February 23, 2024 08:50
@arawind arawind added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 23, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 23, 2024
@arawind
Minor changes in comments
646e6eb
arpan14
arpan14 approved these changes Feb 23, 2024
View reviewed changes
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/Mutation.java Resolved

Uh oh!

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

Comment thread ...-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/DirectExecuteResultSet.java Resolved

Uh oh!

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

@arpan14
arpan14 requested a review from olavloite February 23, 2024 12:32
arawind added 2 commits February 23, 2024 18:11
@arawind
Split the Mutation.isNaN method to make it more readable
2988656
@arawind
Merge branch 'main' into float32-v2
738916c
olavloite
olavloite reviewed Feb 23, 2024
View reviewed changes
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/Mutation.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/StructReader.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/StructReader.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/Type.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/Value.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITFloat32Test.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITFloat32Test.java Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITFloat32Test.java Resolved

Uh oh!

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

Comment thread ...loud-spanner/src/test/resources/com/google/cloud/spanner/connection/it/CreateMusicTables.sql Resolved

Uh oh!

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

Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractStructReader.java Resolved

Uh oh!

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

olavloite and others added 3 commits February 23, 2024 16:49
@olavloite
test: added some additional tests
187182b
@arawind
Merge branch 'main' into float32-v2
7543083
@arawind
Update to resolve comments on PR#2894.
1057826
Major change: Ensures that the new methods in interfaces do not break for older clients.

Minor changes: remove double cast; remove dependency on Truth assertions; remove unnecessary logic in Mutations::isNaN
@arawind arawind added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Feb 25, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 26, 2024
olavloite
olavloite approved these changes Feb 26, 2024
View reviewed changes

@olavloite olavloite 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.

LGTM (assuming that the test failure is unrelated)

Sorry, something went wrong.

Uh oh!

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

All reactions
arawind added 3 commits February 28, 2024 12:51
@arawind
Merge branch 'main' into float32-v2
dedf17e
@arawind
Un-ignore the skipped FLOAT32 tests as the backend fixes have been de…
2dfe0df
…ployed
@arawind
Un-ignore the float32 tests in ITQueryTest
8f6e21f
@arawind arawind added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 28, 2024
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 28, 2024
@arawind

arawind commented Feb 28, 2024

Copy link
Copy Markdown
Contributor Author

The cloud-devel failures are unrelated and all FLOAT32 integration tests have passed on cloud-devel.

From https://source.cloud.google.com/results/invocations/3dd1b019-0668-4964-a2bc-512009d741ef:

[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.336 s -- in com.google.cloud.spanner.it.ITFloat32Test
All reactions

Sorry, something went wrong.

Uh oh!

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

@arawind
arawind merged commit 19b7976 into googleapis:main Feb 28, 2024
@arawind
arawind deleted the float32-v2 branch February 28, 2024 10:23
@release-please release-please Bot mentioned this pull request Feb 28, 2024
chore(main): release 6.61.0 #2926
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Mar 4, 2024
@release-please
chore(main): release 6.61.0 (#2926)
95bad55
🤖 I have created a release *beep* *boop*
---


## [6.61.0](https://togithub.com/googleapis/java-spanner/compare/v6.60.1...v6.61.0) (2024-03-04)


### Features

* Support float32 type ([#2894](https://togithub.com/googleapis/java-spanner/issues/2894)) ([19b7976](https://togithub.com/googleapis/java-spanner/commit/19b79764294e938ad85d02b7c0662db6ec3afeda))


### Bug Fixes

* Flaky test issue due to AbortedException. ([#2925](https://togithub.com/googleapis/java-spanner/issues/2925)) ([cd34c1d](https://togithub.com/googleapis/java-spanner/commit/cd34c1d3ae9a5a36f4d5516dcf7c3667a9cf015a))


### Dependencies

* Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 ([#2935](https://togithub.com/googleapis/java-spanner/issues/2935)) ([f8f835a](https://togithub.com/googleapis/java-spanner/commit/f8f835a9da705605c492e232a58276c39d1d7e6c))
* Update dependency org.json:json to v20240303 ([#2936](https://togithub.com/googleapis/java-spanner/issues/2936)) ([1d7044e](https://togithub.com/googleapis/java-spanner/commit/1d7044e97d16f5296b7de020cd24b11cbe2a7df0))


### Documentation

* Samples and tests for backup Admin APIs and overall spanner Admin APIs. ([#2882](https://togithub.com/googleapis/java-spanner/issues/2882)) ([de13636](https://togithub.com/googleapis/java-spanner/commit/de1363645e03f46deed5be41f90ddfed72766751))
* Update all public documents to use auto-generated admin clients. ([#2928](https://togithub.com/googleapis/java-spanner/issues/2928)) ([ccb110a](https://togithub.com/googleapis/java-spanner/commit/ccb110ad6835557870933c95cfd76580fd317a16))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
This was referenced Mar 8, 2024
deps: bump com.google.cloud:libraries-bom from 26.33.0 to 26.34.0 GoogleCloudPlatform/spring-cloud-gcp#2659
Closed
fix: upgrade libraries-bom to 26.34.0 and add spanner support float32 type GoogleCloudPlatform/spring-cloud-gcp#2662
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@olavloite olavloite olavloite approved these changes
@arpan14 arpan14 arpan14 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: spanner Issues related to the googleapis/java-spanner 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.

5 participants

@arawind @olavloite @arpan14 @rahul2393 @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.