Skip to content

Fix KPI Check and ES deletion logic - #8797

Merged
TeddyCr merged 2 commits into
open-metadata:mainfrom
TeddyCr:limit-es-check-to-first-record-iteration
Nov 16, 2022
Merged

TeddyCr merged 2 commits into
open-metadata:mainfrom
TeddyCr:limit-es-check-to-first-record-iteration

Conversation

@TeddyCr

@TeddyCr TeddyCr commented Nov 16, 2022

Copy link
Copy Markdown
Collaborator
  • converted fraction to percentage for kpi success check
  • limit check for existing es data to first iteration

Describe your changes :

I worked on the ..... because ...

Type of change :

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Frontend Preview (Screenshots) :

For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

  • I have read the CONTRIBUTING document.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

- converted fraction to percentage for kpi success check
@TeddyCr
TeddyCr requested a review from a team as a code owner November 16, 2022 08:09
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:09 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:09 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:10 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:10 Inactive
@github-actions github-actions Bot added the safe to test Add this label to run secure Github workflows on PRs label Nov 16, 2022
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:33 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:33 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:33 Inactive
@TeddyCr
TeddyCr temporarily deployed to cypress November 16, 2022 08:33 Inactive
@sonarqubecloud

Copy link
Copy Markdown

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@cypress

cypress Bot commented Nov 16, 2022 •

Copy link
Copy Markdown



Test summary

177 • 1 • 4 • 0


Run details

Project openmetadata
Status Failed
Commit 238b3d3
Started Nov 16, 2022 8:56 AM
Ended Nov 16, 2022 9:26 AM
Duration 30:13 💡
OS Linux Ubuntu - 20.04
Browser Chrome 107

View run in Cypress Dashboard ➡️


Failures

cypress/e2e/Pages/DataQualityAndProfiler.js 1 Failed
1 Data Quality and Profiler should work properly > Check if profiler is ingested properly or not

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@pmbrull pmbrull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, not seeing the fraction vs. percentage change though

@sonarqubecloud

Copy link
Copy Markdown

[OpenMetadata-catalog] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug C 18 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 8 Security Hotspots
Code Smell A 465 Code Smells

65.0% 65.0% Coverage
0.9% 0.9% Duplication

@TeddyCr

TeddyCr commented Nov 16, 2022

Copy link
Copy Markdown
Collaborator Author

Removed it, it should be handled in the request

@TeddyCr
TeddyCr merged commit 62bc104 into open-metadata:main Nov 16, 2022
uncgm pushed a commit to uncgm/OpenMetadata that referenced this pull request Nov 16, 2022
* - limit check for existing es data to first iteration
- converted fraction to percentage for kpi success check

* Reverted value * 100, should be handle when we send the KPI definition request

This branch was previously deployed

1 inactive deployment
cypress — 238b3d3a Deployed Nov 16, 2022 by TeddyCr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants