You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "xudong963 (via GitHub)" <gi...@apache.org> on 2026/01/29 10:26:01 UTC
[PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
xudong963 opened a new pull request, #20060:
URL: https://github.com/apache/datafusion/pull/20060
This is a follow-up of the [comment](https://github.com/apache/datafusion/pull/18868#discussion_r2669592259)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey closed pull request #20060: refactor: restrict ParquetOpener field visibility to `pub(crate)`
URL: https://github.com/apache/datafusion/pull/20060
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey commented on PR #20060:
URL: https://github.com/apache/datafusion/pull/20060#issuecomment-3817550980
> This sounds good to me. We’ve made breaking changes to this struct before by moving around fields that would have been non breaking if they weren’t public, and as far as I can tell it was somewhat accidental to make them pub instead of pub(crate) in the first place.
>
> Could you do a quick GitHub search to see if anyone is using these fields? Could check Delta, Comet, etc.
>
> Assuming we don’t find any usage in the wild, how do we inform users? I think we should at least say that any requests to make these fields public we are happy to honor, add public methods for, etc. Basically if you were using this sorry about the breakage happy to revert.
Is `ParquetOpener` part of the public API? It's marked as `pub(super)` 🤔
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
Posted by "xudong963 (via GitHub)" <gi...@apache.org>.
xudong963 commented on PR #20060:
URL: https://github.com/apache/datafusion/pull/20060#issuecomment-3822982620
> Thank you for following up @xudong963, it seems I was wrong with my original comment and it was a waste of time. Sorry about that...
No worries, also learned something
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
Posted by "adriangb (via GitHub)" <gi...@apache.org>.
adriangb commented on PR #20060:
URL: https://github.com/apache/datafusion/pull/20060#issuecomment-3817601507
Ah you're right! Then this is a meaningless exercise: `pub` fields on a `pub(super)` struct are not actually part of the public API / changing them is not a breaking change for users.
Thank you for following up @xudong963, it seems I was wrong with my original comment and it was a waste of time. Sorry about that...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] refactor: restrict ParquetOpener field visibility to `pub(crate)` [datafusion]
Posted by "adriangb (via GitHub)" <gi...@apache.org>.
adriangb commented on PR #20060:
URL: https://github.com/apache/datafusion/pull/20060#issuecomment-3816896758
This sounds good to me. We’ve made breaking changes to this struct before by moving around fields that would have been non breaking if they weren’t public, and as far as I can tell it was somewhat accidental to make them pub instead of pub(crate) in the first place.
Could you do a quick GitHub search to see if anyone is using these fields? Could check Delta, Comet, etc.
Assuming we don’t find any usage in the wild, how do we inform users? I think we should at least say that any requests to make these fields public we are happy to honor, add public methods for, etc. Basically if you were using this sorry about the breakage happy to revert.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org