-
Notifications
You must be signed in to change notification settings - Fork 132
feat(spanner): add support for Proto Columns in Connection API #3123
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
Merged
harshachinta
merged 37 commits into
googleapis:main
from
harshachinta:jdbc-proto-column-feature
May 24, 2024
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cbabd6c
feat: Support for Proto Messages & Enums (#2155)
gauravpurohit06 1fb6e94
samples: Adding samples for updating & querying Proto messages & enum…
gauravpurohit06 6c97b99
test: Proto Column Integration tests (#2212)
gauravpurohit06 dd358c2
Merge remote-tracking branch 'upstream/main' into proto-column-enhanc…
gauravpurohit06 53397e6
Configured jitpack.yml to use OpenJDK 11 (#2218)
gauravpurohit06 2f8eb42
feat: add support for Proto Columns DDL (#2277)
harshachinta a70f259
Merge branch 'main' into proto-column-enhancement-alpha
harshachinta 9513753
teat: update pom file to run tests on cloud-devel region temporarily …
harshachinta 6701f52
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f63da18
fix: revert host changes in pom.xml file
harshachinta 10ee620
feat: add support for Proto Columns to Connection API
harshachinta 7feaf10
feat: add client side statement support for proto descriptor
harshachinta 02a31b6
feat: update existing unit tests to include proto descriptorss argument
harshachinta 7746e08
feat: code refactor for client side statements
harshachinta dcbe166
feat: add unit tests
harshachinta 76fdd77
feat: code refactoring for file path client statement
harshachinta 33044c4
test: add integration test for DDL
harshachinta ad0873a
fix: comment refactoring
harshachinta a5f1697
feat: move proto descriptor file read logic to ConnectionImpl file to…
harshachinta e8fed61
feat: add autogenerated test for new proto columns client side statem…
harshachinta b15dd75
feat: add unit tests to verify proto descriptor set via filepath
harshachinta 0c9f4f6
feat: add review comments
harshachinta f97b249
feat: add client side statement to show proto descriptors file path
harshachinta a42761b
fix: remove proto descriptors file extension validation
harshachinta 865fc0c
feat: comment refactor
harshachinta f1e3f3a
feat: address review comments
harshachinta ef6e043
Merge branch 'main' into jdbc-proto-column-feature
harshachinta 3481cfe
feat: update tests and revert autogenerated code
harshachinta 8468d9a
chore: revert autogenerated coee
harshachinta 5e0bed1
chore: revert autogenerated code
harshachinta 0e4361f
chore: revert autogenerated code
harshachinta 1f0d006
chore: lint format
harshachinta 771178a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f7b5cf6
chore: regenerate descriptors file
harshachinta b98b56e
chore: update schema
harshachinta 85bb7f3
chore: update base64 value for protodescriptor
harshachinta 94eb11c
chore: update copyright year
harshachinta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Would it make more sense to move this to
setDefaultTransactionOptions()
? It keeps the code cleaner, as we have all the reset code in one method, but it does mean that executing for example a query after setting the proto descriptors also clears the fields. One option to prevent the latter could be to add an input argument tosetDefaultTransactionOptions()
that indicates the type of statement that was executed, and only reset these fields if the last statement was a DDL statement.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.
sure, will check if it makes sense to move that logic to
setDefaultTransactionOptions()
as a seperate PR. This PR is very big that the code review will be difficult. Will work on this immediately.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.
This comment will be addressed in PR #3126