-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for ingesting older iceberg snapshots #15348
Conversation
@@ -78,14 +82,16 @@ public IcebergInputSource( | |||
@JsonProperty("namespace") String namespace, | |||
@JsonProperty("icebergFilter") @Nullable IcebergFilter icebergFilter, | |||
@JsonProperty("icebergCatalog") IcebergCatalog icebergCatalog, | |||
@JsonProperty("warehouseSource") InputSourceFactory warehouseSource | |||
@JsonProperty("warehouseSource") InputSourceFactory warehouseSource, | |||
@JsonProperty("snapshotTime") DateTime snapshotTime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be nullable rite ? Might as well mark it nullable.
@@ -164,6 +170,12 @@ public IcebergFilter getIcebergFilter() | |||
return icebergFilter; | |||
} | |||
|
|||
@JsonProperty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generally mark the getter nullable as well.
@a2l007 Changes LGTM. Minor comments only. |
@cryptoe Thanks, I've addressed your comments. |
Test failure due to : apache/druid-website#252 which removed the wikipedia data set from apache druid website. |
This patch introduces a param snapshotTime in the iceberg inputsource spec that allows the user to ingest data files associated with the most recent snapshot as of the given time. This helps the user ingest data based on older snapshots by specifying the associated snapshot time. This patch also upgrades the iceberg core version to 1.4.1
This patch introduces a param snapshotTime in the iceberg inputsource spec that allows the user to ingest data files associated with the most recent snapshot as of the given time. This helps the user ingest data based on older snapshots by specifying the associated snapshot time. This patch also upgrades the iceberg core version to 1.4.1
Description
This patch introduces a param
snapshotTime
in the iceberg inputsource spec that allows the user to ingest data files associated with the most recent snapshot as of the given time. This helps the user ingest data based on older snapshots by specifying the associated snapshot time.This patch also upgrades the iceberg core version to
1.4.1
This PR has: