Support for reading Delta Lake table snapshots#17004
Merged
abhishekagarwal87 merged 12 commits intoapache:masterfrom Sep 9, 2024
Merged
Support for reading Delta Lake table snapshots#17004abhishekagarwal87 merged 12 commits intoapache:masterfrom
abhishekagarwal87 merged 12 commits intoapache:masterfrom
Conversation
ddfbda8 to
c9d8d8e
Compare
c9d8d8e to
75f43eb
Compare
abhishekagarwal87
approved these changes
Sep 9, 2024
abhishekrb19
added a commit
to abhishekrb19/incubator-druid
that referenced
this pull request
Sep 9, 2024
Web-console change for apache#17004.
abhishekrb19
added a commit
to abhishekrb19/incubator-druid
that referenced
this pull request
Sep 9, 2024
Web-console change for apache#17004.
2 tasks
vogievetsky
pushed a commit
that referenced
this pull request
Sep 9, 2024
* Web-console change to add Delta snapshot version. Web-console change for #17004. * Update web-console/src/druid-models/input-source/input-source.tsx * Update web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx
abhishekrb19
added a commit
to abhishekrb19/incubator-druid
that referenced
this pull request
Sep 19, 2024
* Web-console change to add Delta snapshot version. Web-console change for apache#17004. * Update web-console/src/druid-models/input-source/input-source.tsx * Update web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx
1 task
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.
Problem
Currently, the
deltainput source only supports reading from the latest snapshot of the given Delta Lake table. This is a known documented limitation.Description
Add support for reading Delta snapshot. By default, the Druid-Delta connector reads the latest snapshot of the Delta table in order to preserve compatibility. Users can specify a
snapshotVersionto ingest change data events from Delta tables into Druid.In the future, we can also add support for time-based snapshot reads. The Delta API to read time-based snapshots is not clear currently.
Examples:
A. To ingest snapshot version 3 of the Delta table:
B. To ingest a latest snapshot of the Delta table:
Release note
Users can optionally specify a
snapshotVersionin thedeltainput source payload to ingest versioned snapshots from a Delta Lake table. By default, Druid ingests the latest snapshot of the Delta Lake table whensnapshotVersionis not specified.This PR has: