0.49 gcs deltalake - #95
Open
zhoucai-pingcap wants to merge 9 commits into
Open
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add Google Cloud Storage (GCS) support for Delta Lake sinks, harden write recovery when Delta log views go stale (e.g. after external compaction), and shrink Docker image size for release builds.
Changes
Delta Lake / GCS
gcsfeature on thedeltalakecrate so tables can be written to GCS in addition to S3 and Azure.is_stale_delta_log_error(shared by the writer and sinks)._delta_logsegment errors:DeltaOpsManagerafter reloading the table.deltalake,topsql_data_deltalake, andtopsql_meta_deltalakesinks (with a short backoff).Docker / release size
strip = true,panic = "abort",opt-level = "z".DOCKER_BASE(alpine/minimal) and add Makefile targets:release-docker-alpinerelease-docker-minimalrelease-docker-nextgen-alpineTests
tests/deltalake_stale_log_test.rsto simulate external compaction removing a_delta_logJSON file and verify write recovery after reopening the writer.Commits (vs
0.49)393f2b5deltalake gcs6636544/10bc14coptimize docker image size6865bfcfix delta lake write issue0.49)Test plan
is_stale_delta_log_errortests/deltalake_stale_log_test.rsand confirm recovery after simulated log compactiondeltalake/topsql_data_deltalake/topsql_meta_deltalakesinks against S3 and GCS0.49Debian image