Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions quickwit/quickwit-parquet-engine/src/merge/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mod merge_order;
pub mod metadata_aggregation;
pub mod policy;
mod schema;
pub mod streaming;
mod writer;

#[cfg(test)]
Expand Down Expand Up @@ -63,11 +64,11 @@ pub struct MergeConfig {

/// Metadata extracted from input files' Parquet KV metadata.
/// All inputs must agree on sort_fields, window_start, and window_duration.
struct InputMetadata {
sort_fields: String,
window_start_secs: Option<i64>,
window_duration_secs: u32,
num_merge_ops: u32,
pub(super) struct InputMetadata {
pub(super) sort_fields: String,
pub(super) window_start_secs: Option<i64>,
pub(super) window_duration_secs: u32,
pub(super) num_merge_ops: u32,
}

/// Result of a single output file from the merge.
Expand All @@ -76,6 +77,7 @@ struct InputMetadata {
/// logical metadata (metric names, tags, time range) extracted from the
/// actual rows in this output file. When the merge produces multiple
/// outputs, each has metadata reflecting only its own rows.
#[derive(Debug)]
pub struct MergeOutputFile {
/// Path to the output Parquet file.
pub path: PathBuf,
Expand Down
Loading
Loading