Skip to content

fix: cast [] to FixedSizeList(0, _)#23381

Merged
comphead merged 2 commits into
apache:mainfrom
Jefffrey:cast-to-zero-size-fsl
Jul 8, 2026
Merged

fix: cast [] to FixedSizeList(0, _)#23381
comphead merged 2 commits into
apache:mainfrom
Jefffrey:cast-to-zero-size-fsl

Conversation

@Jefffrey

@Jefffrey Jefffrey commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

See issue

What changes are included in this PR?

Add test coverage, also fix issue with constructing scalars of FixedSizeLists with 0 size since we need to explicitly specify the length.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) common Related to common crate labels Jul 8, 2026
@comphead comphead added this pull request to the merge queue Jul 8, 2026
Merged via the queue into apache:main with commit 9dc0f4b Jul 8, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic when casting [] to FixedSizeList(0, Null)

3 participants