Skip to content

Conversation

@tadeja
Copy link
Contributor

@tadeja tadeja commented Jan 6, 2026

Rationale for this change

Request #48470

What changes are included in this PR?

An extension scalar is unwrapped to its storage type when building arrays.

Are these changes tested?

Adding tests soon.

Are there any user-facing changes?

Now user can run such an example to get the output below instead of ArrowInvalid message.

import pyarrow as pa
pa.array([pa.scalar(b'1'*16, type=pa.uuid())], type=pa.uuid())

<pyarrow.lib.UuidArray object at 0x128186970>
[
31313131313131313131313131313131
]

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

⚠️ GitHub issue #48470 has been automatically assigned in GitHub to PR creator.

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