GitHub user mairbek opened a pull request:
https://github.com/apache/beam/pull/4014
[BEAM-1542] SpannerIO: mutation encoding and size estimation improvements
#4013 must be reviewed merged first
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mairbek/beam mutationcoder
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/4014.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4014
----
commit 24b396f6449b73665b96ffe52b3eba46f19d4fc4
Author: Mairbek Khadikov <[email protected]>
Date: 2017-10-18T22:18:55Z
Reading spanner schema transform
commit 20f585ecfcbce8b8130fe7dc5d91ae46f821e77d
Author: Mairbek Khadikov <[email protected]>
Date: 2017-10-18T22:26:11Z
Updated the mutation size estimator to support delete mutations
commit 032fa0d8bcf966f7abca4616c4d16c04acc20b93
Author: Mairbek Khadikov <[email protected]>
Date: 2017-10-18T22:26:36Z
Introduced MutationGroupEncoder which efficiently encodes/decodes the
mutation given the cloud spanner schema
----
---