Skip to content

Conversation

@steFaiz
Copy link
Contributor

@steFaiz steFaiz commented Feb 9, 2026

Purpose

The row range is miscalculated by [first_row_id, first_row_id + row_count], should minus 1

Tests

API and Format

Documentation

long firstRowId = file.nonNullFirstRowId();
start = Math.min(start, firstRowId);
end = Math.max(end, firstRowId + file.rowCount());
end = Math.max(end, firstRowId + file.rowCount() - 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a case for this?

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit e8e90de into apache:master Feb 9, 2026
13 checks passed
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.

2 participants