-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
I am currently experimenting with Marquez and OpenLineage. Just wanted to check back, if this behaviour is intended (or it is a bug):
Steps to reproduce
- ✔️ Sending Lineage Job
STARTEvent with DocumentationJobFacet containing information - ✔️ Marquez displays the documentation contents in the Web UI for the Job
- ✔️ Sending Lineage Job
COMPLETEDEvent containing no DocumentationJobFacet - ❔ Marquez deletes the previously provided documentation, displaying no documentation contents
Observations
It looks like the following Upsert
marquez/api/src/main/java/marquez/db/OpenLineageDao.java
Lines 125 to 136 in b583633
| JobRow job = | |
| jobDao.upsertJob( | |
| UUID.randomUUID(), | |
| getJobType(event.getJob()), | |
| now, | |
| namespace.getUuid(), | |
| namespace.getName(), | |
| event.getJob().getName(), | |
| description, | |
| jobContext.getUuid(), | |
| location, | |
| jobDao.toJson(toDatasetId(event.getInputs()), mapper)); |
causes the last sent DocumentationJobFacet to win, even if it is null.
With this behaviour one needs to send the DocumentationJobFacet for every request made to the OpenLineage API backend (probably also including OTHER Events) to ensure the documentation is always visible in Marquez.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Type
Projects
Status
No status