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

Support skip_def_levels for ColumnLevelDecoder #2107

Closed
Ted-Jiang opened this issue Jul 19, 2022 · 1 comment · Fixed by #2111
Closed

Support skip_def_levels for ColumnLevelDecoder #2107

Ted-Jiang opened this issue Jul 19, 2022 · 1 comment · Fixed by #2111
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate

Comments

@Ted-Jiang
Copy link
Member

Ted-Jiang commented Jul 19, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

pub trait DefinitionLevelDecoder: ColumnLevelDecoder {
/// Skips over `num_levels` definition levels
///
/// Returns the number of values skipped, and the number of levels skipped
fn skip_def_levels(
&mut self,
num_levels: usize,
max_def_level: i16,
) -> Result<(usize, usize)>;
}

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Ted-Jiang Ted-Jiang added the enhancement Any new improvement worthy of a entry in the changelog label Jul 19, 2022
@Ted-Jiang
Copy link
Member Author

working on.

@alamb alamb added the parquet Changes to the parquet crate label Aug 4, 2022
@alamb alamb changed the title Support skip_def_levels for ColumnLevelDecoder Support skip_def_levels for ColumnLevelDecoder Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants