-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minor: deprecate unused index mod #14534
Conversation
mod merge; | ||
pub mod partial_sort; | ||
pub mod sort; | ||
pub mod sort_preserving_merge; | ||
mod stream; | ||
pub mod streaming_merge; | ||
|
||
pub use index::RowIndex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a public struct, we should deprecate it first https://datafusion.apache.org/library-user-guide/api-health.html
By the way, I'm curious is there a way we can detect such unused structs in CI 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @2010YOUY01 for review, this is a good point if we can detect such unused structs in CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in latest PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo clippy -- -D dead_code
It seems it can detect the unused code, but we still use the struct in mod, so we can't detect those code.
ae359da
to
4784496
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you @zhuqi-lucas
Thanks @zhuqi-lucas @2010YOUY01 |
Which issue does this PR close?
This is a minor change for remove unused index file and mod.
Are there any user-facing changes?
no