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: Types.BOOLEAN and Types.BIT should have identical behaviour for nullability #920

Merged
merged 3 commits into from
Aug 26, 2022

Conversation

Clamatius
Copy link
Contributor

Types.BOOLEAN and Types.BIT should have identical behaviour for nullability. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.

Fixes #919

…bility. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.
@Clamatius Clamatius requested a review from a team as a code owner July 25, 2022 23:03
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Jul 25, 2022

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jul 25, 2022
@google-cla
Copy link

google-cla bot commented Jul 25, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner-jdbc API. label Jul 25, 2022
…nullability. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.
@Clamatius Clamatius changed the title Fixes bug where BIT fix: Types.BOOLEAN and Types.BIT should have identical behaviour for nullability Jul 25, 2022
@rajatbhatta rajatbhatta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 24, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 24, 2022
Copy link
Contributor

@rajatbhatta rajatbhatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Adding @olavloite to take a look as well.

Copy link
Collaborator

@olavloite olavloite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@olavloite olavloite added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 26, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 26, 2022
@rajatbhatta rajatbhatta merged commit 42e5903 into googleapis:main Aug 26, 2022
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 16, 2022
🤖 I have created a release *beep* *boop*
---


## [2.7.7](v2.7.6...v2.7.7) (2022-09-16)


### Bug Fixes

* Types.BOOLEAN and Types.BIT should have identical behaviour for nullability ([#920](#920)) ([42e5903](42e5903))


### Dependencies

* Google-cloud-spanner-bom 6.30.0 ([#967](#967)) ([9385a5d](9385a5d))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#963](#963)) ([811d96b](811d96b))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#966](#966)) ([f8b88cd](f8b88cd))
* Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.0 ([#943](#943)) ([9754023](9754023))
* Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.1 ([#961](#961)) ([a3e1fc6](a3e1fc6))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@Clamatius Clamatius deleted the bug-nullable_bit_type branch September 19, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BIT type not nullable but BOOLEAN is
4 participants