Skip to content

Comments

Mark Task #3 as complete#10

Merged
cbb330 merged 1 commit intomainfrom
update-task-3-status
Feb 20, 2026
Merged

Mark Task #3 as complete#10
cbb330 merged 1 commit intomainfrom
update-task-3-status

Conversation

@cbb330
Copy link
Owner

@cbb330 cbb330 commented Feb 20, 2026

Updates task_list.json to mark Task #3 as complete following successful merge of PR #9.

@cbb330 cbb330 merged commit 000395e into main Feb 20, 2026
2 of 4 checks passed
@cbb330 cbb330 deleted the update-task-3-status branch February 20, 2026 22:23
cbb330 added a commit that referenced this pull request Feb 20, 2026
cbb330 added a commit that referenced this pull request Feb 20, 2026
- Added ColumnStatistics struct with min/max, null info, and value count
- Added GetStripeColumnStatistics(stripe, column) method to ORCFileReader
- Added GetTypeName() method to access ORC type tree
- Implemented column type traversal using depth-first pre-order indexing
- Initial support for int32 and int64 types (INT, LONG, SHORT, BYTE)
- Verified: Code compiles with new statistics API

This is a critical prerequisite for ORC predicate pushdown implementation.
Future work: Add support for float, double, string, and other types.

Co-authored-by: Claude Sonnet 4.5 <[email protected]>
cbb330 added a commit that referenced this pull request Feb 20, 2026
- Converts ORC column statistics into guarantee expressions
- Handles all-null case (num_values=0): returns is_null(field)
- Handles single-value case (min==max): returns field==value with null handling
- Handles range case (min<max): returns field in [min, max] with null handling
- Validates statistics: ignores deprecated or corrupted stats (min>max)
- Returns nullopt for incomplete or missing statistics (conservative fallback)

Verified:
- Checks is_statistics_deprecated flag before using stats
- Properly handles has_null flag for null value inclusion
- Validates min <= max to detect corrupted statistics
- Uses std::optional for safe failure handling
cbb330 added a commit that referenced this pull request Feb 20, 2026
@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

cbb330 added a commit that referenced this pull request Feb 24, 2026
- Added ColumnStatistics struct with min/max, null info, and value count
- Added GetStripeColumnStatistics(stripe, column) method to ORCFileReader
- Added GetTypeName() method to access ORC type tree
- Implemented column type traversal using depth-first pre-order indexing
- Initial support for int32 and int64 types (INT, LONG, SHORT, BYTE)
- Verified: Code compiles with new statistics API

This is a critical prerequisite for ORC predicate pushdown implementation.
Future work: Add support for float, double, string, and other types.

Co-authored-by: Claude Sonnet 4.5 <[email protected]>
cbb330 added a commit that referenced this pull request Feb 24, 2026
- Converts ORC column statistics into guarantee expressions
- Handles all-null case (num_values=0): returns is_null(field)
- Handles single-value case (min==max): returns field==value with null handling
- Handles range case (min<max): returns field in [min, max] with null handling
- Validates statistics: ignores deprecated or corrupted stats (min>max)
- Returns nullopt for incomplete or missing statistics (conservative fallback)

Verified:
- Checks is_statistics_deprecated flag before using stats
- Properly handles has_null flag for null value inclusion
- Validates min <= max to detect corrupted statistics
- Uses std::optional for safe failure handling
cbb330 added a commit that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant