Skip to content

Change ConstantArray::Metadata to Scalar#6474

Closed
connortsui20 wants to merge 2 commits intoct/deserialize-with-buffersfrom
ct/constant-metadata-scalar
Closed

Change ConstantArray::Metadata to Scalar#6474
connortsui20 wants to merge 2 commits intoct/deserialize-with-buffersfrom
ct/constant-metadata-scalar

Conversation

@connortsui20
Copy link
Contributor

Based on top of #6473

This is also blocking the extension scalar work we want to do.

Adds buffers as a parameter to `VTable::deserialize`. This is needed
because we now _sometimes_ store the `ConstantArray` scalar in the
metadata and _sometimes_ in the buffers. We want to make the metadata
for `ConstantArray` a `Scalar` instead of `Option<Scalar>`, and that
will come in a followup PR.

Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 changed the base branch from develop to ct/deserialize-with-buffers February 12, 2026 19:46
@connortsui20 connortsui20 added the changelog/break A breaking API change label Feb 12, 2026
@connortsui20 connortsui20 force-pushed the ct/deserialize-with-buffers branch 2 times, most recently from 468f06d to bc8066f Compare February 13, 2026 16:03
@connortsui20
Copy link
Contributor Author

Closing for now while we figure out if we want to have two discrete kinds of ConstantArray where one inlines the scalar into the metadata and the other keeps it in buffers.

connortsui20 added a commit that referenced this pull request Feb 13, 2026
Adds buffers as a parameter to `VTable::deserialize`. This is needed
because we now _sometimes_ store the `ConstantArray` scalar in the
metadata and _sometimes_ in the buffers. We want to make the metadata
for `ConstantArray` a `Scalar` instead of `Option<Scalar>`, and that
will come in a followup PR.

Followup PR: #6474

This is also blocking the extension scalar work we want to do.

Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant