Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Jul 16, 2022
1 parent 2f961f2 commit 42cca6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion parquet/src/column/writer/mod.rs
Expand Up @@ -156,7 +156,6 @@ type ColumnCloseResult = (
/// Typed column writer for a primitive column.
pub type ColumnWriterImpl<'a, T> = GenericColumnWriter<'a, ColumnValueEncoderImpl<T>>;

#[doc(hidden)]
pub struct GenericColumnWriter<'a, E: ColumnValueEncoder> {
// Column writer properties
descr: ColumnDescPtr,
Expand Down Expand Up @@ -188,6 +187,9 @@ pub struct GenericColumnWriter<'a, E: ColumnValueEncoder> {
max_column_value: Option<E::T>,
num_column_nulls: u64,
column_distinct_count: Option<u64>,

/// The order of encodings within the generated metadata does not impact its meaning,
/// but we use a BTreeSet so that the output is deterministic
encodings: BTreeSet<Encoding>,

// Reused buffers
Expand Down
1 change: 0 additions & 1 deletion parquet/src/file/statistics.rs
Expand Up @@ -398,7 +398,6 @@ impl fmt::Display for Statistics {
/// Typed implementation for [`Statistics`].
pub type TypedStatistics<T> = ValueStatistics<<T as DataType>::T>;

#[doc(hidden)]
/// Statistics for a particular [`ParquetValueType`]
#[derive(Clone, Eq, PartialEq)]
pub struct ValueStatistics<T> {
Expand Down

0 comments on commit 42cca6b

Please sign in to comment.