-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat: add JSON type support #1799
feat: add JSON type support #1799
Conversation
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
Show resolved
Hide resolved
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.
Looks great!
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
Outdated
Show resolved
Hide resolved
google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java
Outdated
Show resolved
Hide resolved
google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java
Outdated
Show resolved
Hide resolved
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
Outdated
Show resolved
Hide resolved
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 as a first pass, but agreed with @nageshs that supporting the built-in javax.json.JsonObject
type (automatically converting to string for the user) in addition to String would be desirable.
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
Outdated
Show resolved
Hide resolved
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.
Thank you! Looks great to me.
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
Outdated
Show resolved
Hide resolved
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.
Structure LGTM, but I have some worries about the new dependency.
google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- ## [2.7.0](v2.6.2...v2.7.0) (2022-01-27) ### Features * add JSON type support ([#1799](#1799)) ([73c4a73](73c4a73)) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](#1339)) ([#1809](#1809)) ([90afea5](90afea5)) * update actions/github-script action to v5 ([#1808](#1808)) ([8e5f585](8e5f585)) * update dependency com.google.cloud:google-cloud-storage to v2.3.0 ([#1796](#1796)) ([8b77d9b](8b77d9b)) * update dependency com.google.oauth-client:google-oauth-client-java6 to v1.33.0 ([#1802](#1802)) ([c78fc77](c78fc77)) * update dependency com.google.oauth-client:google-oauth-client-jetty to v1.33.0 ([#1803](#1803)) ([8e34e59](8e34e59)) * update dependency org.assertj:assertj-core to v3 ([#1786](#1786)) ([69fcabf](69fcabf)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Source-Link: googleapis/synthtool@1fd6dff Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ad9cabee4c022f1aab04a71332369e0c23841062124818a4490f73337f790337
Source-Link: googleapis/synthtool@1fd6dff Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ad9cabee4c022f1aab04a71332369e0c23841062124818a4490f73337f790337 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Fixes b/213373577
cc @nageshs