Skip to content

feat(spanner): add support for Proto Columns#9315

Merged
harshachinta merged 30 commits intomainfrom
proto-column-enhancement-alpha
May 7, 2024
Merged

feat(spanner): add support for Proto Columns#9315
harshachinta merged 30 commits intomainfrom
proto-column-enhancement-alpha

Conversation

@harshachinta
Copy link
Copy Markdown
Contributor

@harshachinta harshachinta commented Jan 28, 2024

harshachinta and others added 14 commits October 27, 2022 15:02
* feat(spanner): Adding support for Proto Message and Proto Enum

* feat(spanner): Add license header to new files

* code refactoring and additional checks

* nit: code changes

* go.mod update to prevent failing builds

* go.mod update to prevent failing builds

* go.mod and build_samples.sh update to prevent failing builds

* revert back grpc version

* revert back changes

* Using standard Singers example, refactoring redundant code

* code and proto refactoring

* Add proto_type_fqn for Proto Message and Proto Enum

* code refactoring

* go mod tidy: go.mod and go.sum version updates

* add changes to support compatibility between Int64 and Enum & compatibility between Bytes and Proto

* Revert "go mod tidy: go.mod and go.sum version updates"

This reverts commit 484b00c.

* add Integration Tests for Proto Message, Proto Enum, compatibility tests

* code refactoring

* code refactoring

* add unit tests for nil proto types

* Add error when nil proto message or nil enum is passed
…6954)

* feat(spanner): add support for handling null value in Proto columns

* code refactor: get protoTypeFqn from user defined nil types

* code refactoring

* code refactoring

* code refactoring

* code refactoring

* Add tests for MarshalJSON and UnmarshalJSON methods

* refactoring test file

* code refactoring
* feat(spanner): add support for array of proto columns

* refactoring comments and added negative test cases while reading array of protos

* change decoding logic of handling array of proto columns
… columns (#7042)

* feat(spanner): add support for handling null values in Array of Proto Columns

* add comments for code readability

* nit: change in error message
…n tests (#7091)

* feat(spanner): support for proto columns as primary key and tests for parameterized queries, primary key and indexes

* feat(spanner): close read-only transaction to prevent session leak

* feat(spanner): update table schema to have GPK on proto field
)

* feat(spanner): reset array of proto, enum when null from database

* feat(spanner): fix license header to fix vet.sh build

* feat(spanner): fix proto generated file to fix vet.sh build

* feat(spanner): organize imports to fix vet.sh build

* feat(spanner): golint changes to fix vet.sh build
* feat(spanner): add proto changes for Proto Columns DDL support

* feat(spanner): add Proto descriptor file and integration tests for Proto DDL feature

* feat(spanner): skip pg tests and code refactoring for proto ddl

* feat(spanner): rename NewDatabaseAdminRESTClient to NewDatabaseAdminClient due to visibility label issue fix

* feat(spanner): remove hardcoded cloud-devel host

* feat(spanner): remove hardcoded project id
@harshachinta harshachinta requested review from a team January 28, 2024 10:22
@product-auto-label product-auto-label bot added the size: xl Pull request size is extra large. label Jan 28, 2024
@harshachinta harshachinta changed the title feat( feat(spanner): add support for Proto Columns Jan 28, 2024
@harshachinta harshachinta added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 29, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Jan 29, 2024
@product-auto-label product-auto-label bot added the stale: old Pull request is old and needs attention. label Feb 28, 2024
@harshachinta harshachinta removed the stale: old Pull request is old and needs attention. label May 3, 2024
@harshachinta harshachinta removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 3, 2024
@harshachinta harshachinta merged commit 3ffbbbe into main May 7, 2024
@harshachinta harshachinta deleted the proto-column-enhancement-alpha branch May 7, 2024 04:29
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 Spanner API. breaking change size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants