Skip to content

refactor: split out PhysicalSegmentColumnInspector from PhysicalSegmentInspector#19577

Open
clintropolis wants to merge 1 commit into
apache:masterfrom
clintropolis:split-physical-segment-inspector
Open

refactor: split out PhysicalSegmentColumnInspector from PhysicalSegmentInspector#19577
clintropolis wants to merge 1 commit into
apache:masterfrom
clintropolis:split-physical-segment-inspector

Conversation

@clintropolis

Copy link
Copy Markdown
Member

Description

Small change to split out a new PhysicalSegmentColumnInspector from PhysicalSegmentInspector that takes all of the column specific methods (and the ColumnInspector part) to assist the partial load functionality I have been working on, since the methods I have moved to PhysicalSegmentColumnInspector currently at least need the actual column present to correctly implement, however the remaining methods in PhysicalSegmentInspector can be answered purely with metadata. PhysicalSegmentColumnInspector is only used by SegmentAnalyzer for segment metadata queries for column analysis, so I think this change shouldn't be very disruptive, as the wider used methods like row count and metadata retrieval remain on the existing interface.

@github-actions github-actions Bot added Area - Batch Ingestion Area - Segment Format and Ser/De Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Jun 11, 2026

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have reviewed the code for correctness, edge cases, concurrency, and integration risks; no issues found.

Reviewed 12 of 12 changed files.


This is an automated review by Codex GPT-5.5

Comparable getMinValue(String column);

/**
* Returns the minimum value of the provided column, if known through an index, dictionary, or cache. Returns null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Returns the minimum value of the provided column, if known through an index, dictionary, or cache. Returns null
* Returns the maximum value of the provided column, if known through an index, dictionary, or cache. Returns null

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

Labels

Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 Area - Segment Format and Ser/De Refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants