Skip to content

Fix format problem in composite of unmapped (backport of #50869)#50875

Merged
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:composite_ip_mixed_7_x
Jan 10, 2020
Merged

Fix format problem in composite of unmapped (backport of #50869)#50875
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:composite_ip_mixed_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jan 10, 2020

When a composite aggregation is reduced using the results from an
index that has one of the fields unmapped we were throwing away the
formatter. This is mildly annoying, except in the case of IP addresses
which were coming out as non-utf-8-characters. And tripping assertions.

This carefully preserves the formatter from the working bucket.

Closes #50600

When a composite aggregation is reduced using the results from an
index that has one of the fields unmapped we were throwing away the
formatter. This is mildly annoying, except in the case of IP addresses
which were coming out as non-utf-8-characters. And tripping assertions.

This carefully preserves the formatter from the working bucket.

Closes elastic#50600
@nik9000 nik9000 changed the title Fix format problem in composite of unmapped (#50869) Fix format problem in composite of unmapped (backpor of #50869) Jan 10, 2020
@nik9000 nik9000 changed the title Fix format problem in composite of unmapped (backpor of #50869) Fix format problem in composite of unmapped (backport of #50869) Jan 10, 2020
@nik9000 nik9000 merged commit e6d0f7d into elastic:7.x Jan 10, 2020
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