Skip to content

Comments

[9.3] Fix native array integration tests (#139577)#141528

Merged
jordan-powers merged 1 commit intoelastic:9.3from
jordan-powers:backport/9.3/pr-139577
Jan 30, 2026
Merged

[9.3] Fix native array integration tests (#139577)#141528
jordan-powers merged 1 commit intoelastic:9.3from
jordan-powers:backport/9.3/pr-139577

Conversation

@jordan-powers
Copy link
Contributor

@jordan-powers jordan-powers commented Jan 29, 2026

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

Fixes #139562.

In elastic#139093 we updated the NativeArrayIntegrationTestCase to extract the
single value out of arrays of length 1. This prevents the creation of the
.offsets field (as it's not need for single-valued fields), which then
fails the later assertion in the test which checks for the presence of
this .offsets field.

This PR fixes the test failures by reverting the logic to collapse the
arrays, instead maintaining single-valued arrays as-is.

(cherry picked from commit 5f24987)

# Conflicts:
#	muted-tests.yml
@jordan-powers jordan-powers added >test Issues or PRs that are addressing/adding tests Team:StorageEngine :StorageEngine/Mapping The storage related side of mappings labels Jan 29, 2026
@jordan-powers jordan-powers merged commit 237ceaf into elastic:9.3 Jan 30, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.3.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants