Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] [Vis Builder] Add metric to metric, bucket to bucket aggregation persistence #3594

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 525b033 from #3495.

…istence (#3495)

* Add metric to metric, bucket to bucket aggregation persistance

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Add logics to avoid exceeding the max count for each schema field

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Add changelog entry

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* addressing comments

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Add unit tests for functions in use_persisted_agg_params

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* rewrite unit tests to test the entire functionality

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

---------

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
(cherry picked from commit 525b033)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team as a code owner March 10, 2023 23:12
@abbyhu2000 abbyhu2000 added the autocut Skip the changelog verification check on backports label Mar 10, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 11, 2023

Codecov Report

Merging #3594 (e2af293) into 2.x (6d802d4) will increase coverage by 0.01%.
The diff coverage is 88.23%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##              2.x    #3594      +/-   ##
==========================================
+ Coverage   66.45%   66.46%   +0.01%     
==========================================
  Files        3205     3206       +1     
  Lines       61563    61597      +34     
  Branches     9497     9503       +6     
==========================================
+ Hits        40911    40943      +32     
- Misses      18380    18382       +2     
  Partials     2272     2272              
Flag Coverage Δ
Linux 66.41% <88.23%> (+0.01%) ⬆️
Windows 66.42% <88.23%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...uilder/public/application/components/right_nav.tsx 11.11% <0.00%> (-2.23%) ⬇️
...gins/vis_builder/public/application/utils/mocks.ts 100.00% <ø> (ø)
...plication/utils/state_management/shared_actions.ts 100.00% <ø> (ø)
...tion/utils/state_management/visualization_slice.ts 33.33% <ø> (ø)
.../application/utils/use/use_persisted_agg_params.ts 96.77% <96.77%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@joshuarrrr
Copy link
Member

whitesource failure for mocha is known and can be ignored.

@abbyhu2000 abbyhu2000 merged commit 27e9fe0 into 2.x Mar 11, 2023
@github-actions github-actions bot deleted the backport/backport-3495-to-2.x branch March 11, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports v2.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants