Skip to content

chore: Add array_slice tests for overlapping nulls across inputs#21540

Merged
mbutrovich merged 1 commit intoapache:mainfrom
neilconway:neilc/chore-array-slice-overlap-test
Apr 10, 2026
Merged

chore: Add array_slice tests for overlapping nulls across inputs#21540
mbutrovich merged 1 commit intoapache:mainfrom
neilconway:neilc/chore-array-slice-overlap-test

Conversation

@neilconway
Copy link
Copy Markdown
Contributor

Per reviewer comment in #21482, this adds a test case for array_slice for various situations in which multiple inputs (array, from, to, stride) are simultaneously null.

Pin the NullBuffer::union semantics introduced in apache#21482 by testing
rows where multiple inputs (array, from, to, stride) are simultaneously
null.
@neilconway
Copy link
Copy Markdown
Contributor Author

cc @metegenez

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Apr 10, 2026
Copy link
Copy Markdown
Contributor

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

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

Thanks for following up with the extra tests, @neilconway!

@mbutrovich mbutrovich added this pull request to the merge queue Apr 10, 2026
Merged via the queue into apache:main with commit 3911f0c Apr 10, 2026
31 checks passed
@metegenez
Copy link
Copy Markdown
Contributor

Thanks for the effort @neilconway

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

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants