Skip to content

[Maps] Type aggregations#83294

Merged
thomasneirynck merged 16 commits intoelastic:masterfrom
thomasneirynck:maps/add_descriptors
Nov 16, 2020
Merged

[Maps] Type aggregations#83294
thomasneirynck merged 16 commits intoelastic:masterfrom
thomasneirynck:maps/add_descriptors

Conversation

@thomasneirynck
Copy link
Copy Markdown
Contributor

@thomasneirynck thomasneirynck commented Nov 12, 2020

Summary

Makes typing for aggregations more fine-grained, by splitting off the fielded-agg.

This PR introduces a new typing that serves as a prereq for adding the percentile aggregation. Percentile will require additional params that are not relevant for the other aggs.

@thomasneirynck thomasneirynck added Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.11 v8.0.0 labels Nov 12, 2020
@thomasneirynck thomasneirynck marked this pull request as ready for review November 12, 2020 17:18
@thomasneirynck thomasneirynck requested a review from a team as a code owner November 12, 2020 17:18
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@thomasneirynck thomasneirynck added the release_note:skip Skip the PR/issue when compiling release notes label Nov 12, 2020
@spalger spalger added v7.11.0 and removed v7.11 labels Nov 12, 2020
Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

Can you move all agg_field files into a folder under fields and expose key parts with index file to avoid cluttering field folder?

@ghost
Copy link
Copy Markdown

ghost commented Nov 16, 2020

💚 Build Succeeded

Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

LGTM
code review

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
maps 627 631 +4

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 2.8MB 2.8MB +2.5KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@thomasneirynck thomasneirynck merged commit 32c3676 into elastic:master Nov 16, 2020
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Nov 16, 2020
Splits the AggDescriptor into multiple types, to better distinguish Counts from aggs with fields. Corresponding split in agg-classes.
thomasneirynck added a commit that referenced this pull request Nov 16, 2020
Splits the AggDescriptor into multiple types, to better distinguish Counts from aggs with fields. Corresponding split in agg-classes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore release_note:skip Skip the PR/issue when compiling release notes Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.11.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants