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

Aliyun: Deprecate OSSInputStream public constructor #4450

Conversation

rajarshisarkar
Copy link
Contributor

This PR is a follow-up of @rdblue's feedback: #4393 (comment)

Deprecating the constructor would maintain parity with the other InputStream classes like GCSInputStream, EcsSeekableInputStream, and S3InputStream which have a package private constructor.

cc: @rdblue

/**
* @deprecated moving to package-private in 0.15.0
*/
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the class itself also be moved to package-private?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that would maintain parity with GCSInputStream, EcsSeekableInputStream, and S3InputStream as well.

@rajarshisarkar rajarshisarkar force-pushed the deprecate-oss-input-stream-public-constructor branch from 37827ef to 5a2c97e Compare April 1, 2022 05:44
Copy link
Member

@openinx openinx left a comment

Choose a reason for hiding this comment

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

Looks good to me !

@openinx openinx merged commit 9034618 into apache:master Apr 1, 2022
@rajarshisarkar
Copy link
Contributor Author

Thanks for the quick review, @openinx!

kbendick pushed a commit to kbendick/iceberg that referenced this pull request Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants