add delta lake to iceberg blueprint and IT - #4103
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #4103 +/- ##
=============================================
- Coverage 55.94% 38.01% -17.94%
+ Complexity 7485 511 -6974
=============================================
Files 1134 195 -939
Lines 70175 11761 -58414
Branches 8023 1181 -6842
=============================================
- Hits 39261 4471 -34790
+ Misses 28367 6924 -21443
+ Partials 2547 366 -2181
🚀 New features to boost your workflow:
|
f0d7c7e to
d642c4b
Compare
f6ff2b9 to
353123c
Compare
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request adds a new Dataflow template that enables data migration from Delta Lake tables to Apache Iceberg tables. It includes the necessary YAML definitions, Java interface files, and updates to the template generation tooling to support this new pipeline. Additionally, an integration test has been included to verify the pipeline's correctness. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces the Delta Lake to Iceberg batch pipeline template, including its YAML definition, Java metadata interface, documentation, and integration tests. It also updates the Python template generator to conditionally import the Beam SDK Default options. The feedback suggests improving the YAML syntax for requirements to use standard list notation and dynamically calculating the parquet file size in the integration test to avoid hardcoding.
e6ed587 to
a9b0bcf
Compare
|
Hi @chamikaramj, friendly ping. Thanks |
* add delta lake to iceberg IT * fix spotless and rerun auto-generation * switch to interrupt call * change to a dynamic import to fix error * add forgotten yaml definition file * add generated README for DeltaLakeToIceberg template * switch back to stop method for direct runner * address gemini comment * spotless * initial comments fixes * change iceberg to lakehouse * change to a wrapped writetoiceberg via writetolakehouse * update yaml file with wrapper transform * remove old writetolakehouse transform idea * spotless * change to renamed transform * address Delta client comment * spotless * fix generated file * create write to lakehouse * change package * oops - used wrong assumed date * fix uri catalog version * update jar to to be the same * change to managed and mimic deltalake * update one more version jar * add manifest resource transformer * add managed and iceberg * change pattern * force to schemaAwareExternalTransform * another try * add transformer * update per Cham's comments * fix formatting
* yml file * yml file * changes * deps: update Python dependencies (#4194) Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com> * [SpannerToSourceDb] Reverse replication Integration test with SSL based connection (#4192) * [SpannerToSourceDb] Reverse replication Integration test with SSL based connection * Moving process creation code into a method * Addressing comments * add auto-close dependabot step for requirements*.txt type files (#4220) * add auto-close dependabot step * add ignore comment * add delta lake to iceberg blueprint and IT (#4103) * add delta lake to iceberg IT * fix spotless and rerun auto-generation * switch to interrupt call * change to a dynamic import to fix error * add forgotten yaml definition file * add generated README for DeltaLakeToIceberg template * switch back to stop method for direct runner * address gemini comment * spotless * initial comments fixes * change iceberg to lakehouse * change to a wrapped writetoiceberg via writetolakehouse * update yaml file with wrapper transform * remove old writetolakehouse transform idea * spotless * change to renamed transform * address Delta client comment * spotless * fix generated file * create write to lakehouse * change package * oops - used wrong assumed date * fix uri catalog version * update jar to to be the same * change to managed and mimic deltalake * update one more version jar * add manifest resource transformer * add managed and iceberg * change pattern * force to schemaAwareExternalTransform * another try * add transformer * update per Cham's comments * fix formatting * fix naming determination (#4210) * fix naming * fix default imports issue * rerun some checks * clean up old named files * change pubsubtoiceberg yaml name * update readme with blueprint naming conventions * Refactor pipeline parameter options to seperate Options.java file (#4209) * yml file * yml file * changes * Refactor DataStreamToSpannerOptions to separate file * Delete .github/workflows/codelab-watchdog.yml * Refactor SpannerToSourceDbOptions to separate file * mistakes * Refactor GCSSpannerDVOptions to a separate file * spotless * Fix checkstyle formatting and missing package-info * year * year * fix tests * fix tests * testing * spotless * Fix test compilation failures in SpannerToSourceDbTest * spotless * change+test * revert test changes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com> Co-authored-by: darshan-sj <darshan-sj@users.noreply.github.com> Co-authored-by: Derrick Williams <derrickaw@google.com>
* add delta lake to iceberg IT * fix spotless and rerun auto-generation * switch to interrupt call * change to a dynamic import to fix error * add forgotten yaml definition file * add generated README for DeltaLakeToIceberg template * switch back to stop method for direct runner * address gemini comment * spotless * initial comments fixes * change iceberg to lakehouse * change to a wrapped writetoiceberg via writetolakehouse * update yaml file with wrapper transform * remove old writetolakehouse transform idea * spotless * change to renamed transform * address Delta client comment * spotless * fix generated file * create write to lakehouse * change package * oops - used wrong assumed date * fix uri catalog version * update jar to to be the same * change to managed and mimic deltalake * update one more version jar * add manifest resource transformer * add managed and iceberg * change pattern * force to schemaAwareExternalTransform * another try * add transformer * update per Cham's comments * fix formatting
* add delta lake to iceberg IT * fix spotless and rerun auto-generation * switch to interrupt call * change to a dynamic import to fix error * add forgotten yaml definition file * add generated README for DeltaLakeToIceberg template * switch back to stop method for direct runner * address gemini comment * spotless * initial comments fixes * change iceberg to lakehouse * change to a wrapped writetoiceberg via writetolakehouse * update yaml file with wrapper transform * remove old writetolakehouse transform idea * spotless * change to renamed transform * address Delta client comment * spotless * fix generated file * create write to lakehouse * change package * oops - used wrong assumed date * fix uri catalog version * update jar to to be the same * change to managed and mimic deltalake * update one more version jar * add manifest resource transformer * add managed and iceberg * change pattern * force to schemaAwareExternalTransform * another try * add transformer * update per Cham's comments * fix formatting
…#4206) * yml file * yml file * changes * deps: update Python dependencies (GoogleCloudPlatform#4194) Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com> * [SpannerToSourceDb] Reverse replication Integration test with SSL based connection (GoogleCloudPlatform#4192) * [SpannerToSourceDb] Reverse replication Integration test with SSL based connection * Moving process creation code into a method * Addressing comments * add auto-close dependabot step for requirements*.txt type files (GoogleCloudPlatform#4220) * add auto-close dependabot step * add ignore comment * add delta lake to iceberg blueprint and IT (GoogleCloudPlatform#4103) * add delta lake to iceberg IT * fix spotless and rerun auto-generation * switch to interrupt call * change to a dynamic import to fix error * add forgotten yaml definition file * add generated README for DeltaLakeToIceberg template * switch back to stop method for direct runner * address gemini comment * spotless * initial comments fixes * change iceberg to lakehouse * change to a wrapped writetoiceberg via writetolakehouse * update yaml file with wrapper transform * remove old writetolakehouse transform idea * spotless * change to renamed transform * address Delta client comment * spotless * fix generated file * create write to lakehouse * change package * oops - used wrong assumed date * fix uri catalog version * update jar to to be the same * change to managed and mimic deltalake * update one more version jar * add manifest resource transformer * add managed and iceberg * change pattern * force to schemaAwareExternalTransform * another try * add transformer * update per Cham's comments * fix formatting * fix naming determination (GoogleCloudPlatform#4210) * fix naming * fix default imports issue * rerun some checks * clean up old named files * change pubsubtoiceberg yaml name * update readme with blueprint naming conventions * Refactor pipeline parameter options to seperate Options.java file (GoogleCloudPlatform#4209) * yml file * yml file * changes * Refactor DataStreamToSpannerOptions to separate file * Delete .github/workflows/codelab-watchdog.yml * Refactor SpannerToSourceDbOptions to separate file * mistakes * Refactor GCSSpannerDVOptions to a separate file * spotless * Fix checkstyle formatting and missing package-info * year * year * fix tests * fix tests * testing * spotless * Fix test compilation failures in SpannerToSourceDbTest * spotless * change+test * revert test changes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com> Co-authored-by: darshan-sj <darshan-sj@users.noreply.github.com> Co-authored-by: Derrick Williams <derrickaw@google.com>
No description provided.