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 — chore: support for UUID type by gagangupt16 · Pull Request #3572 · googleapis/java-spanner

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

Conversation

@gagangupt16

@gagangupt16 gagangupt16 commented Dec 27, 2024

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

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

All reactions
surbhigarg92 and others added 30 commits December 5, 2024 12:36
@surbhigarg92
feat: Add Metrics host for built in metrics (googleapis#3519)
f8a5603
This PR allows users to set the custom monitoring host for built in metrics.
@diegomarquezp
feat: introduce java.time variables and methods (googleapis#3495)
6a429b1
This PR introduces `java.time` alternatives to existing `org.threeten.bp.*` methods, as well as switching internal variables (if any) to `java.time`

The main constraint is to keep the changes backwards compatible, so for each existing threeten method "`method1(org.threeten.bp.Duration)`" we will add an alternative with a _Duration_ (or _Timestamp_ when applicable) suffix: "`method1Duration(java.time.Duration)`".

For most cases, the implementation will be held in the `java.time` method and the old threeten method will just delegate the call to it. However, for the case of abstract classes, the implementation will be kept in the threeten method to avoid breaking changes (i.e. users that already overloaded the method in their user code).
@harshachinta
chore(spanner): support multiplexed session for rw transactions in ex… (
df03ae6
googleapis#3471)

* chore(spanner): support multiplexed session for rw transactions in executor

* chore(spanner): lint fix
@olavloite
chore: remove unused code and fix some warnings (googleapis#3533)
27c2068
Pratick Chokhani @olavloite
feat(spanner): support multiplexed session for Partitioned operations (…
b060dfd
…googleapis#3231)

* feat(spanner): support multiplexed session for Partitioned read or query.

* chore(spanner): lint fixes

* feat(spanner): support multiplexed session for Partitioned DML operations.

* lint(spanner): javadoc fixes.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* feat(spanner): Modified BatchClientImpl to store multiplexed session and create fresh session after expiration date.

* feat(spanner): Removed env variable for Partitioned Ops ensuring that Multiplexed Session for Partitioned Ops is not available to customers.

* lint(spanner): Removed unused variables.

---------

Co-authored-by: Knut Olav Løite <[email protected]>
@olavloite
test: enable more tests on the Emulator (googleapis#3535)
ebd326b
Multiple tests were skipped on the Emulator, because the features that
are covered by these tests were originally not supported on the
Emulator. These features are now available on the Emulator, and the
tests can be enabled.
@sakthivelmanii
ci(spanner): Fix nightly job issues (googleapis#3522)
7e265ac
* ci(spanner): Fix nightly job permission issue

* update scope for surefire-junit4
@olavloite
chore: add internal option for statement executor type (googleapis#3534)
7d2534d
The Connection API by default uses either a platform thread or a virtual thread
for each connection to execute and control the statements of that connection. This
is used to enable asynchronous execution of statements and allows a statement to
be cancelled by just interrupting this thread. Both these use cases are however
not (or only very rarely) used by the most common users of the Connection API;
the JDBC driver and PGAdapter. PGAdapter uses the PostgreSQL wire-protocol, which
by design is synchronous, and JDBC is also a synchronous API. The latter has a
cancel() method that currently requires this threading model, but this can be
modified in the JDBC driver.

Using a direct executor instead of a single-threaded executor per connection can
save one thread per connection.

The option is intentionally made package-private, so the above-mentioned
frameworks can set it by default without it becoming part of the public API.
@olavloite
feat: support 'set local' for retry_aborts_internally (googleapis#3532)
725efa3
Adds support for `set local retry_aborts_internally=true|false` in the
Connection API. This change also adds the parsing infrastructure that is
needed to support `set local` for all connection variables. Support for
this will be added to other connection variables in follow-up pull requests.
Pratick Chokhani
feat: add opt-in for using multiplexed sessions for blind writes (goo…
9172b0d
…gleapis#3540)

* feat(spanner): Releasing Multiplexed session for blind write.

* fix(spanner): Added exception for `setUseMultiplexedSessionBlindWrite` in Clirr check. Removing this is safe as it's not used by customers.

* fix(spanner): Fixed unit test for multiplexed session.
@sakthivelmanii @cloud-java-bot
ci(spanner): clean up unused kokoro configurations (googleapis#3542)
5c30ba2
* ci(spanner): clean up unused kokoro configurations

* chore: generate libraries at Tue Dec 10 09:54:10 UTC 2024

---------

Co-authored-by: cloud-java-bot <[email protected]>
@pratickchokhani
test(spanner): Enabled multiplexed session for partitioned operations…
41e1495
… in systest. (googleapis#3545)
@release-please
chore(main): release 6.82.1-SNAPSHOT (googleapis#3526)
30c2e59
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@renovate-bot
deps: update sdk platform java dependencies (googleapis#3549)
1611c0c
@olavloite
chore: reset default to platform thread (googleapis#3551)
f2e3d20
Reset the default to using a platform thread for connections. This was the
default before adding an option for setting the executor type, and the new
default is causing problems with the async Connection API.

Fixes googleapis#3541
@cloud-java-bot @rahul2393 @JoeWang1127
chore: Update generation configuration at Fri Dec 13 16:21:35 UTC 2024 (
9640c9a
googleapis#3523)

* chore: Update generation configuration at Wed Dec  4 02:29:01 UTC 2024

* chore: Update generation configuration at Thu Dec  5 02:29:11 UTC 2024

* chore: Update generation configuration at Fri Dec  6 02:28:46 UTC 2024

* chore: generate libraries at Fri Dec  6 02:29:25 UTC 2024

* chore: Update generation configuration at Sat Dec  7 02:28:09 UTC 2024

* chore: Update generation configuration at Tue Dec 10 02:29:37 UTC 2024

* chore: Update generation configuration at Wed Dec 11 02:28:47 UTC 2024

* chore: Update generation configuration at Thu Dec 12 02:29:08 UTC 2024

* chore: generate libraries at Thu Dec 12 02:29:50 UTC 2024

* chore: Update generation configuration at Fri Dec 13 02:29:25 UTC 2024

* chore: Update generation configuration at Fri Dec 13 16:21:35 UTC 2024

* chore: generate libraries at Fri Dec 13 16:22:12 UTC 2024

* update workflow script

---------

Co-authored-by: rahul2393 <[email protected]>
Co-authored-by: Joe Wang <[email protected]>
@release-please @cloud-java-bot
chore(main): release 6.83.0 (googleapis#3547)
41673f2
* chore(main): release 6.83.0

* chore: generate libraries at Fri Dec 13 17:19:20 UTC 2024

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: cloud-java-bot <[email protected]>
@olavloite @rahul2393
chore: make state field volatile in AsyncResultSetImpl (googleapis#3550)
5c77905
* chore: make state field volatile in AsyncResultSetImpl

Mark the `state` field in `AsyncResultSetImpl` volatile, as it is
inspected by different threads.

* fix: protect writes with monitor

---------

Co-authored-by: rahul2393 <[email protected]>
@olavloite @rahul2393
chore: make valid connection properties public (googleapis#3546)
6354f35
Make the list of valid connection properties public, so tools that
depend on the Connection API can use this to for example generate
documentation for valid properties.

Also add valid values to the connection properties that have that
(e.g. enums and booleans).

Co-authored-by: rahul2393 <[email protected]>
@renovate-bot
deps: update opentelemetry.version to v1.45.0 (googleapis#3531)
5cf957d
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.opentelemetry:opentelemetry-sdk-testing](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-testing/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-testing/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-testing/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-testing/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk-trace](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-trace/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-trace/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-trace/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-trace/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk-metrics](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-java (io.opentelemetry:opentelemetry-sdk-testing)</summary>

### [`v1.45.0`](https://redirect.github.com/open-telemetry/opentelemetry-java/blob/HEAD/CHANGELOG.md#Version-1450-2024-12-06)

[Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-java/compare/v1.44.1...v1.45.0)

##### API

-   Add convenience method `setAttribute(Attribute<Long>, int)` to SpanBuilder (matching the existing
    convenience method in Span)
    ([#&#8203;6884](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6884))
-   Extends TextMapGetter with experimental GetAll() method, implement usage in W3CBaggagePropagator
    ([#&#8203;6852](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6852))

##### SDK

##### Traces

-   Add synchronization to SimpleSpanProcessor to ensure thread-safe export of spans
    ([#&#8203;6885](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6885))

##### Metrics

-   Lazily initialize ReservoirCells
    ([#&#8203;6851](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6851))

##### Logs

-   Add synchronization to SimpleLogRecordProcessor to ensure thread-safe export of logs
    ([#&#8203;6885](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6885))

##### Exporters

-   OTLP: Update opentelementry-proto to 1.4
    ([#&#8203;6906](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6906))
-   OTLP: Rename internal Marshaler#writeJsonToGenerator method to allow jackson runtimeOnly dependency
    ([#&#8203;6896](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6896))
-   OTLP: Fix repeated string serialization for JSON.
    ([#&#8203;6888](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6888))
-   OTLP: Fix missing unsafe available check
    ([#&#8203;6920](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6920))

##### Extensions

-   Declarative config: Don't require empty objects when referencing custom components
    ([#&#8203;6891](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6891))

##### Tooling

-   Add javadoc boilerplate internal comment v2 for experimental classes
    ([#&#8203;6886](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6886))
-   Update develocity configuration
    ([#&#8203;6903](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6903))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
@release-please
chore(main): release 6.83.1-SNAPSHOT (googleapis#3554)
2758d40
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
@sagnghos
feat(spanner): add jdbc support for external hosts (googleapis#3536)
e194954
* feat(spanner): add jdbc support for external hosts

* feat(spanner): added default port value and unit tests

* feat(spanner): fixed redundant class name typo
@sakthivelmanii
ci(spanner): improve performance of samples tests (googleapis#3558)
33d22eb
@olavloite
test: unflake RetryOnInvalidatedSessionTest (googleapis#3561)
488aa8c
@sakthivelmanii
ci(spanner): Create a new Sample Slow tests (googleapis#3560)
871cb82
* ci(spanner): Create a new Sample Slow tests

* Fix delete backup issue in autogenerated admin client
@cloud-java-bot @rahul2393
chore: Update generation configuration at Sat Dec 14 02:27:24 UTC 2024 (
07ee201
googleapis#3555)

Co-authored-by: rahul2393 <[email protected]>
@olavloite
test: enable write tests for PostgreSQL (googleapis#3529)
dc392e3
@olavloite
chore: include session min/max in error message (googleapis#3566)
ee81eba
@olavloite
fix: retry specific internal errors (googleapis#3565)
8173e51
* chore: make internal auth backend errors retryable

Spanner occasionally returns INTERNAL errors regarding the auth backend server.
These errors should be regarded as retryable.

* fix: retry specific internal errors

Some specific internal errors should be retrid. Instead of adding INTERNAL
as a standard retryable error code, we use an interceptor to catch and
translate those specific errors.

See also b/375684610

* chore: address review comments

* fix: wait for session pool to initialize

* fix: register errors before creating the client
@olavloite
chore: disable native metrics when there are no credentials (googleap…
0a4d70a
…is#3567)

* chore: disable native metrics when there are no credentials

Native metrics were automatically disabled when the emulator is used, but
some clients (e.g. PGAdapter) set up the connection to the emulator manually
instead of setting the environment variable. Also, when using in-mem mock
servers, native metrics should be disabled, as they cannot be exported.

This PR therefore adds an additional check that disables native metrics
when the client uses a NoCredentials instance.

* chore: make method private
@sakthivelmanii
sakthivelmanii requested a review from a team February 27, 2025 09:56
@sakthivelmanii
Merge branch 'main' into uuid
9d82713
harshachinta
harshachinta reviewed Mar 4, 2025
View reviewed changes
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.

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.

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

Uh oh!

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

Comment thread google-cloud-spanner/clirr-ignored-differences.xml Resolved

Uh oh!

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

gagangupt16 added 4 commits March 4, 2025 19:00
@gagangupt16
Merge branch 'main' of github.com:googleapis/java-spanner into uuid
6696cc4
@gagangupt16
refactor: use internal methods and remove unused code
bfe12eb
@gagangupt16
Merge branch 'uuid' of github.com:gagangupt16/java-spanner into uuid
71f2175
@gagangupt16
Merge branch 'main' into uuid
8151916
@gagangupt16
gagangupt16 requested a review from harshachinta March 5, 2025 04:25
gagangupt16 added 2 commits March 5, 2025 13:42
@gagangupt16
fix: make it binary compatible while adding implementation for UUID m…
2b88eb8
…ethods in AbstractStructReader
@gagangupt16
Merge branch 'uuid' of github.com:gagangupt16/java-spanner into uuid
d8c7e50
harshachinta
harshachinta approved these changes Mar 5, 2025
View reviewed changes
jain-vishal1
jain-vishal1 approved these changes Mar 5, 2025
View reviewed changes
sakthivelmanii
sakthivelmanii approved these changes Mar 10, 2025
View reviewed changes
gagangupt16 added 12 commits March 17, 2025 09:51
@gagangupt16
Merge branch 'main' into uuid
9159a47
@gagangupt16
Merge branch 'main' into uuid
1028823
@gagangupt16
Merge branch 'main' into uuid
122f4cf
@gagangupt16
Merge branch 'main' into uuid
b5a7be8
@gagangupt16
Merge branch 'main' into uuid
5a0cb9d
@gagangupt16
Merge branch 'main' into uuid
dd3abcd
@gagangupt16
Merge branch 'main' into uuid
509b13e
@gagangupt16
merge conflicts resolved
980aa8c
@gagangupt16
merge conflicts resolved
df4c6c1
@gagangupt16
Merge branch 'main' of github.com:googleapis/java-spanner into uuid
4004fdd
@gagangupt16
tests: added more tests in ValueTest
5fc48f3
@gagangupt16
style: formatting fix
0a46de3
@gagangupt16 gagangupt16 changed the title feat: support for UUID type chore: support for UUID type Apr 28, 2025
@harshachinta
Merge branch 'main' into uuid
dbc46bd
@harshachinta harshachinta removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 28, 2025
@harshachinta
harshachinta merged commit 6e220ff into googleapis:main Apr 28, 2025
@mpeddada1 mpeddada1 mentioned this pull request May 13, 2025
fix: update libraries-bom to 26.60.0 and add support for Interval and UUID GoogleCloudPlatform/spring-cloud-gcp#3769
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

3 more reviewers
@harshachinta harshachinta harshachinta approved these changes
@jain-vishal1 jain-vishal1 jain-vishal1 approved these changes
@sakthivelmanii sakthivelmanii sakthivelmanii 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.

12 participants

@gagangupt16 @harshachinta @jain-vishal1 @sakthivelmanii @surbhigarg92 @diegomarquezp @olavloite @pratickchokhani @renovate-bot @cloud-java-bot @sagnghos @larkee
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.