Repository navigation
Deprecate DynamoDB Catalog to Reduce Catalog Scope - #9783
Conversation
| /** | ||
| * DynamoDB implementation of Iceberg catalog | ||
| * | ||
| * @deprecated since version 1.6.0, will be removed after two full releases. |
There was a problem hiding this comment.
should we say fully remove in 2.0 instead? That is a better version to introduce breaking changes.
There was a problem hiding this comment.
Yeah this would be a much cleaner approach. If we deprecate by 2.0 we increase the window for the plan forward.
There was a problem hiding this comment.
Yeah 2.0 is probably a better time to make this change.
| /** | ||
| * DynamoDB implementation of Iceberg catalog | ||
| * | ||
| * @deprecated since version 1.6.0, will be removed in 2.0.0 release |
There was a problem hiding this comment.
| * @deprecated since version 1.6.0, will be removed in 2.0.0 release | |
| * @deprecated since 1.6.0, will be removed in 2.0.0 |
There was a problem hiding this comment.
Just to be in sync with other deprecated messages in the project.
| import software.amazon.awssdk.services.dynamodb.model.PutItemRequest; | ||
| import software.amazon.awssdk.services.dynamodb.model.UpdateItemRequest; | ||
|
|
||
| /** @deprecated since version 1.6.0, will be removed in 2.0.0 release */ |
There was a problem hiding this comment.
| /** @deprecated since version 1.6.0, will be removed in 2.0.0 release */ | |
| /** @deprecated since 1.6.0, will be removed in 2.0.0 */ |
|
Side note, we should also deprecate the catalog in python, probably in a separated PR. |
nastra
left a comment
There was a problem hiding this comment.
LGTM. It would be good to also update aws.md to indicate that the catalog is deprecated. Also we should hold off merging this until 1.5.0 is officially out.
|
Thanks for the help, merging! |
|
@jackye1995 as I mentioned we should be holding off the merge until 1.5.0 is out. If we do another RC, then this diff will be included and I'm not sure this is what we wanted |
|
Oh sorry I totally missed that comment. I think we can put another PR to change the comment to say deprecated since 1.5.0, what do you think? |
|
That might work too. Also do we want to update |
|
I see, let's do that quickly @geruh |
|
@geruh - we (Salesforce DataCloud team) use DynamoDB catalog. AWS is the biggest cloud out there & dynamoDb is the most reliable aws's no-sql db as mgd. svc. cc: @rdblue @munendrasn |
|
@geruh @jackye1995 @amogh-jahagirdar it was decided in sync to move all catalogs to another repo if i am not wrong, can we do that instead of removing the catalog altogether. |
|
@SreeramGarlapati , @namrathamyske: Can you also comment that salesforce is using it and mention the problems with Glue catalog in details as a reply to the mailing list discussion? It can reach wider audience. |
|
For time being I have reverted the DynamoDb catalog deprecation from the code and prepared RC4. Let us discuss more on mailing list and conclude whether it needs to be deprecated or not. If concluded to be deprecated, we can deprecate in 1.6.0. |
|
@SreeramGarlapati @namrathamyske we discussed specifically about Dynamo in that community sync that we want to deprecate it directly. Let us talk more on the devlist about this. Looks like you are the primary user of that catalog, in that case we are interested in a few options:
|
|
Yeah I think it's important to emphasize that deprecating in this repo, and removing it in 2.0 does not mean DynamoDBCatalog cannot exist in some form in some other repo. @jackye1995 presented some good options to maintain continuity. On another note, while the decision is already made and we can work with it, I think reverting this change should not have happened. The intention of deprecation is to give people a headstart on planning and awareness that it will be removed in the future. Reverting the deprecation, shortens that window which is probably the opposite of what we want. |
|
Some catalogs could be community-owned. |
As discussed in the community sync, we want to reduce the scope of supported catalogs in Iceberg. There are currently many options, which creates confusion and makes it difficult to properly test and upgrade each one.
The
DynamoDBCatalogspecifically has seen little adoption. It provides similar functionality to other catalogs we already support better like theGlueCatalog. As we look to simplify our catalog selection, the DynamoDB catalog makes sense as one to deprecate.This PR marks the DynamoDB catalog as deprecated. It will be removed entirely in two releases, starting from Iceberg 1.6.0.
Please comment If you have any concerns or a hard dependency on this catalog.