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

Arrow, AWS, Core: Remove deprecated code for 1.5.0 release #9505

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

ajantha-bhat
Copy link
Member

No description provided.

@github-actions github-actions bot added the arrow label Jan 18, 2024
@nastra
Copy link
Contributor

nastra commented Jan 18, 2024

Can we combine this PR with other deprecations that should be removed before releasing 1.5.0? I think there aren't too many

@ajantha-bhat
Copy link
Member Author

Can we combine this PR with other deprecations that should be removed before releasing 1.5.0? I think there aren't too many

I don't want to combine #9298 with this change as it will be hard to review when we mix things. If there are direct removals, we can combine with this PR.

I did a look up the remaining and only thing that is pending after this is deprecation from CreateChangelogViewProcedure.
I have to backport this to remove those errors.

@nastra
Copy link
Contributor

nastra commented Jan 18, 2024

I didn't mean to combine it with #9298, but rather with any other deprecations that haven't been done yet. Searching through the codebase using removed in 1.5.0 there are still a few places to be removed, which we should probably do as part of this PR

@ajantha-bhat ajantha-bhat added this to the Iceberg 1.5.0 milestone Jan 18, 2024
@ajantha-bhat
Copy link
Member Author

Sure. removed in 1.5.0 is a good suggestion. I was looking for since 1.4.0 and few deprecation doesn't have it :D
I will handled them in this PR.

@github-actions github-actions bot added the core label Jan 19, 2024
@ajantha-bhat ajantha-bhat changed the title Arrow: Remove deprecated methods for 1.5.0 release Arrow, Core: Remove deprecated code for 1.5.0 release Jan 19, 2024
@ajantha-bhat
Copy link
Member Author

Only thing left is deprecated code in AwsProperties. But looks like it will be a big diff. I will give it a try.

@github-actions github-actions bot added the AWS label Jan 19, 2024
@ajantha-bhat ajantha-bhat changed the title Arrow, Core: Remove deprecated code for 1.5.0 release Arrow, AWS, Core: Remove deprecated code for 1.5.0 release Jan 19, 2024
@ajantha-bhat
Copy link
Member Author

I pushed the changed from AWS module as a separate commit in the same PR.

import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;

public class TestAwsProperties {
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this being removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was testing only deprecated awsProperties.httpClientProperties(). Since it is removed, There is no need of the test class.

Now we use HttpClientProperties instead which is already covered by HttpClientPropertiesTest

Copy link
Contributor

Choose a reason for hiding this comment

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

it seems the purpose of this test was to check that Kryo ser/de works. Therefore we should keep this test (although using non-deprecated properties)

Copy link
Member Author

Choose a reason for hiding this comment

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

ok. Added a test to verify some basic properties.

@nastra nastra merged commit 556b798 into apache:main Jan 22, 2024
42 checks passed
geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
adnanhemani pushed a commit to adnanhemani/iceberg that referenced this pull request Jan 30, 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.

None yet

2 participants