[phase-31 2/4] Compaction metadata types#6258
Open
g-talbot wants to merge 1 commit intogtt/phase-31-sort-schemafrom
Open
[phase-31 2/4] Compaction metadata types#6258g-talbot wants to merge 1 commit intogtt/phase-31-sort-schemafrom
g-talbot wants to merge 1 commit intogtt/phase-31-sort-schemafrom
Conversation
598de1a to
c95095b
Compare
3696bb4 to
a90ca2f
Compare
c95095b to
5b1c080
Compare
a90ca2f to
d60973e
Compare
5b1c080 to
6ebf40b
Compare
d60973e to
cf9484d
Compare
295f59c to
f3c03dc
Compare
cf9484d to
bb42b42
Compare
5 tasks
acb5d28 to
a8dc7a2
Compare
bb42b42 to
5b2304c
Compare
4ce16a3 to
b89e965
Compare
39f875f to
4d42fd9
Compare
b89e965 to
b9566a6
Compare
… model, field lookup Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
b9566a6 to
b6eb595
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extend MetricsSplitMetadata with 6 compaction fields and update PostgreSQL model types (Phase 31 Metadata Foundation, PR 2 of 4).
Stacks on
gtt/phase-31-sort-schema(PR #6242).What's included
split/metadata.rs:
MetricsSplitMetadata:window_start,window_duration_secs,sort_fields,num_merge_ops,row_keys_proto,zonemap_regexesparquet_files: Vec<String>field (replaces single-file assumption)debug_assert!invariants from ADR-003split/postgres.rs:
InsertableMetricsSplitandPgMetricsSplitfrom_metadata()populates new SQL columnsschema/fields.rs:
ParquetField::from_name()for name-based field lookup (used by sort field resolver)Verification
cargo build -p quickwit-parquet-engine✅cargo test -p quickwit-parquet-engine -- split::metadata split::postgres✅ (11 tests)cargo clippy -p quickwit-parquet-engine --all-features --tests✅Test plan
(Replaces #6243 which was accidentally auto-merged during a rebase)
🤖 Generated with Claude Code