-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use protobuf types in Kingdom Spanner DB
- Loading branch information
Showing
4 changed files
with
112 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Kingdom Spanner Changelog | ||
|
||
Liquibase changelog for the Kingdom Spanner database. | ||
|
||
## Protobuf Changes | ||
|
||
If the definition of any | ||
[Details message](../../../proto/wfa/measurement/internal/README.md#details-message-types) | ||
in the API changes, it must be accompanied by a changelog entry with the | ||
appropriate `PROTO BUNDLE` DDL statements. See | ||
[Work with protocol buffers in GoogleSQL](https://cloud.google.com/spanner/docs/reference/standard-sql/protocol-buffers). | ||
|
||
The serialized `FileDescriptorSet` can be obtained from the | ||
`//src/main/proto/wfa/measurement/internal/kingdom:details_descriptor_set` Bazel | ||
build target. The base64-encoded value of the output can be passed in a `SET | ||
PROTO_DESCRIPTORS` statement, which will apply to the following DDL batch. See | ||
[`create-proto-bundles.sql`](create-proto-bundles.sql) for an example. |
This file contains 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
80 changes: 80 additions & 0 deletions
80
src/main/resources/kingdom/spanner/create-proto-bundles.sql
Large diffs are not rendered by default.
Oops, something went wrong.