Skip to content
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

Remove deprecated APIs scheduled for removal in 1.6.0 #10501

Conversation

findepi
Copy link
Member

@findepi findepi commented Jun 15, 2024

No description provided.

Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, thanks.

@jbonofre
Copy link
Member

@findepi you should set Iceberg 1.6.0 as milestone for this PR.

@Fokko Fokko added this to the Iceberg 1.6.0 milestone Jun 16, 2024
@@ -1024,6 +1024,38 @@ acceptedBreaks:
old: "class org.apache.iceberg.types.Types.NestedField"
new: "class org.apache.iceberg.types.Types.NestedField"
justification: "new Constructor added"
org.apache.iceberg:iceberg-core:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need to add these rules if the break is justified (going to the deprecation process), or am I overestimating the abilities of rev-api here? :D

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we still need to add these here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in Trino we somehow avoid the need for rev-api exclusions, because we instructed it to watch for @Deprecated annotation. However, we would need something more elaborate to take into account the text associated with the @deprecated javadoc, which announces the version in which the given element is supposed to disappear. I don't know whether rev-api can already look at the javadoc text, but it definitely would be nice.

Copy link
Contributor

@nastra nastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for fixing these

@nastra nastra merged commit 3d3e565 into apache:main Jun 17, 2024
24 checks passed
@findepi findepi deleted the findepi/remove-deprecated-apis-scheduled-for-removal-in-1-6-0-caa32b branch June 17, 2024 07:23
jasonf20 pushed a commit to jasonf20/iceberg that referenced this pull request Aug 4, 2024
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants