-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove lint issues in parquet-related code. #9375
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
Changes from 1 commit
5a843f3
8c23479
f063d2f
fbf9156
c8a3b05
7e9e52e
d5b5e66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -244,6 +244,8 @@ struct TestParquetFile { | |
| /// The operation log for IO operations performed on this file | ||
| ops: Arc<OperationLog>, | ||
| /// The (pre-parsed) parquet metadata for this file | ||
| // TODO: this is unused; consider removing it. | ||
| #[allow(dead_code)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe for this dead code we can use it in a test somewhere to assert something useful? 🤔
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I lack context to be the one to tackle it!
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can probably replace it with
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I took the liberty of fixing this locally and pushing to this branch |
||
| parquet_metadata: Arc<ParquetMetaData>, | ||
| } | ||
|
|
||
|
|
@@ -303,6 +305,8 @@ impl TestParquetFile { | |
| } | ||
|
|
||
| /// Return the parquet metadata for this file | ||
| // TODO: this is unused; consider removing it. | ||
| #[allow(dead_code)] | ||
| fn parquet_metadata(&self) -> &Arc<ParquetMetaData> { | ||
| &self.parquet_metadata | ||
| } | ||
|
|
@@ -477,10 +481,12 @@ enum LogEntry { | |
| /// Read the metadata of the parquet file | ||
| ReadMetadata(Range<usize>), | ||
| /// Access previously parsed metadata | ||
| #[allow(dead_code)] | ||
| GetProvidedMetadata, | ||
| /// Read a single logical data object | ||
| ReadData(ReadInfo), | ||
| /// Read one or more logical data objects in a single operation | ||
| #[allow(dead_code)] | ||
| ReadMultipleData(Vec<LogEntry>), | ||
| /// Not known where the read came from | ||
| Unknown(Range<usize>), | ||
|
|
@@ -572,6 +578,8 @@ impl OperationLog { | |
| /// accessed by the specified range | ||
| /// | ||
| /// It behaves the same as [`add_entry_for_range`] but for multiple ranges. | ||
| // TODO: this is unused; consider removing it. | ||
|
brunal marked this conversation as resolved.
Outdated
|
||
| #[allow(dead_code)] | ||
| fn add_entry_for_ranges<'a>(&self, ranges: impl IntoIterator<Item = &'a Range<usize>>) { | ||
| let entries = ranges | ||
| .into_iter() | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.