[Feature Request]: Data Quality Alerts in Execution Information

Aperta
#8,626 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start by reviewing Hop's existing Execution Information model and location, then inspect the GUI notifications/problems area and current profiling, metrics, lineage, and logging integrations. Done would require an agreed rule and alert metadata model, storage approach, lifecycle, and supported actions; this issue is currently a discussion rather than an implementation plan.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

awaiting triage Hop Gui Infrastructure P3
What would you like to happen?

I would like to propose a discussion about adding data quality alerts to Apache Hop Execution Information.

Hop already stores valuable execution details such as status, logs, metrics, and profiled data. The idea would be to allow users to evaluate that information against user-defined rules and generate persistent alerts that can also be displayed in the Hop GUI.

For example, a pipeline could define checks such as:

  • Null CPF values must not be greater than zero
  • Null name values must be below 1%
  • Rows sent to the “Error Map” hop must be below 500
  • Rows loaded to the target must represent at least 95% of input rows
  • Pipeline duration must be below 30 minutes

At the end of an execution, Hop could evaluate these rules and save the results together with the Execution Information.

Conceptual example:

Execution: person_load #12345
Status: Completed with alerts

Rule: Null CPF values
Actual value: 84
Threshold: 0
Severity: Failure

Rule: Rows sent to Error Map
Actual value: 2,184
Threshold: 500
Severity: Warning

In addition to being linked to an execution, each alert could be stored in a dedicated structure in the configured Execution Information Location. This would make it possible to query and monitor alerts across multiple pipelines and workflows.

The Hop GUI could expose these alerts through the existing notifications/problems area and provide a simple lifecycle:

Open → Under investigation → Resolved / Ignored

When opening an alert, users could see:

  • Related pipeline, workflow, and execution
  • Related transform or hop
  • Configured rule
  • Expected and actual values
  • Execution logs and metrics
  • Analysis comments
  • History of similar occurrences

It could also be useful to define an action for each rule:

  • Record only
  • Raise an alert
  • Mark execution as warning
  • Mark execution as failed
  • Stop execution
  • Route rows to quarantine

The intention is not to assume that every metric deviation is an error. For example, rejected rows can be expected in some data flows. Therefore, rules should explicitly identify which transform, hop, field, or execution metric is being monitored.

Points for community discussion:

Should this be part of the standard Execution Information model, or should it start as a plugin?

What would be the best metadata model for data quality rules?

Should alerts be stored in the same Execution Information backend or in a dedicated table/index?

How could this integrate with existing data profiling, metrics, lineage, and logging capabilities?

Which actions should be supported without making pipeline execution too complex?

How can this be implemented with minimal performance impact for high-volume pipelines?

I believe this could help evolve Hop from only recording execution details to also identifying, tracking, and auditing data quality deviations in a structured way.

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui, Component: Infrastructure

Lingua principale
Java
Stelle
1.6k
Fork
499
Merge medio
1g 5h
PR unite (30g)
316

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/hop

Tutte le issue di apache/hop

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.