Skip to content

Conversation

@raunaqmorarka
Copy link
Member

Description

We can use pre-sized arrays instead of going through PageBuilder/BlockBuilder

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Nov 17, 2025
@github-actions github-actions bot added the iceberg Iceberg connector label Nov 17, 2025
Copilot finished reviewing on behalf of raunaqmorarka November 17, 2025 06:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors PositionDeleteWriter to use pre-sized arrays instead of PageBuilder/BlockBuilder for improved efficiency. The change introduces a custom PositionsList class to manage an array of deleted row positions.

  • Replaces PageBuilder with a custom PositionsList class that manages a long[] array directly
  • Updates writePage to construct Page objects using LongArrayBlock directly
  • Removes dependencies on PageBuilder and BigintType imports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

cla-signed iceberg Iceberg connector

Development

Successfully merging this pull request may close these issues.

2 participants