Skip to content

[Variant] remove VariantMetadata::dictionary_size #7947

@alamb

Description

@alamb

Unrelated but these public methods on VariantMetadata are redundant:

/// The number of metadata dictionary entries
pub fn len(&self) -> usize {
self.dictionary_size()
}

/// Get the dictionary size
pub const fn dictionary_size(&self) -> usize {
self.dictionary_size as _
}

Originally posted by @friendlymatthew in #7943 (comment)

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersparquetChanges to the parquet crate

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions