Skip to content

Remove Parquet code - #6809

Open
nadav-govari wants to merge 2 commits into
mainfrom
nadav/remove-parquet
Open

nadav-govari wants to merge 2 commits into
mainfrom
nadav/remove-parquet

Conversation

@nadav-govari

Copy link
Copy Markdown
Collaborator

Description

Removes the unused Parquet code. Commit can be reverted if we want it back.

How was this PR tested?

Unit tests all pass.

@nadav-govari
nadav-govari requested a review from a team as a code owner September 17, 2026 17:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-17T17:39:29.445367Z de81562 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b243001f0b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 121 to 124
#[serde(default)]
pub merge_policy: MergePolicyConfig,
/// Merge policy for Parquet (metrics/sketches) splits.
#[cfg(feature = "metrics")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub parquet_merge_policy: Option<ParquetMergePolicyConfig>,
/// Parquet-specific indexing settings (sort schema, window duration).
#[cfg(feature = "metrics")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub parquet_indexing: Option<ParquetIndexingConfig>,
#[serde(default)]
pub resources: IndexingResources,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep removed index settings readable during upgrades

When upgrading a metastore containing an index configured with parquet_merge_policy or parquet_indexing, persisted IndexMetadata is deserialized through this #[serde(deny_unknown_fields)] struct, so those former fields now make the entire index metadata unreadable—even for deleting the obsolete index—and bulk index-list consumers may fail because of one such entry. Preserve a versioned deserialization/migration path for stored metadata and document the required upgrade behavior before rejecting these fields in new configurations.

AGENTS.md reference: AGENTS.md:L23-L24

Useful? React with 👍 / 👎.

@nadav-govari
nadav-govari force-pushed the nadav/remove-parquet branch 2 times, most recently from 75695e2 to 647de6a Compare September 17, 2026 17:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: de8156274a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

let pipeline_handle: BoxedPipelineHandle = self
.spawn_log_or_metrics_pipeline(
let pipeline_handle: IndexingPipelineHandle = self
.spawn_indexing_pipeline(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drain legacy metric batches before using the standard pipeline

When upgrading with pre-existing OTLP metrics or sketch records still queued in the ingest-v2 WAL, this unconditional spawn_indexing_pipeline replaces the former ID-based MetricsPipeline dispatch. Those records contain Arrow IPC payloads, so the standard DocProcessor interprets them as JSON, rejects every document, and publishes an EmptySplit checkpoint specifically to avoid retrying faulty documents; the queued metrics are therefore irreversibly skipped. Detect and reject these legacy indexes or provide a drain/migration path before routing them through the standard pipeline.

AGENTS.md reference: AGENTS.md:L21-L24

Useful? React with 👍 / 👎.

@@ -148,13 +129,11 @@ impl From<FileBackedIndexV0_8> for FileBackedIndex {
per_source_shards.insert(source_id.clone(), Shards::empty(index_uid, source_id));
}
}
Self::new_with_metrics_splits(
Self::new(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve legacy split manifests until their files are reclaimed

When a file-backed metastore contains nonempty metrics_splits or sketch_splits, the revised v0.9 serde struct silently ignores those now-unknown fields and this conversion rebuilds the index without them. The next metadata mutation rewrites the file and permanently loses the only paths and sizes for those objects; both GC and index deletion now enumerate only regular splits, so the Parquet files remain orphaned in storage. Retain the legacy fields long enough to delete their files, or perform an explicit migration before dropping them.

AGENTS.md reference: AGENTS.md:L21-L24

Useful? React with 👍 / 👎.

@Totodore

Copy link
Copy Markdown
Contributor

Hey, does metrics support in Quickwit is abandonned? Or is it still planned but everything is removed and will be add back later with a complete feature?

@PSeitz

PSeitz commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Hey, does metrics support in Quickwit is abandonned? Or is it still planned but everything is removed and will be add back later with a complete feature?

The current approach is abandonned. Will probably come back later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants