mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-14 10:19:51 +00:00
fix(ingest): DataProcessInstance.emit_process_end() ignored start_timestamp_millis (#10539)
This commit is contained in:
parent
47ba6d9395
commit
c308a6ff45
@ -176,6 +176,8 @@ class DataProcessInstance:
|
||||
:param result: (InstanceRunResult) the result of the run
|
||||
:param result_type: (string) It identifies the system where the native result comes from like Airflow, Azkaban
|
||||
:param attempt: (int) the attempt number of this execution
|
||||
:param start_timestamp_millis: (Optional[int]) the start time of the execution in milliseconds
|
||||
|
||||
"""
|
||||
mcp = MetadataChangeProposalWrapper(
|
||||
entityUrn=str(self.urn),
|
||||
@ -215,12 +217,15 @@ class DataProcessInstance:
|
||||
:param result_type: (string) It identifies the system where the native result comes from like Airflow, Azkaban
|
||||
:param attempt: (int) the attempt number of this execution
|
||||
:param callback: (Optional[Callable[[Exception, str], None]]) the callback method for KafkaEmitter if it is used
|
||||
:param start_timestamp_millis: (Optional[int]) the start time of the execution in milliseconds
|
||||
|
||||
"""
|
||||
for mcp in self.end_event_mcp(
|
||||
end_timestamp_millis=end_timestamp_millis,
|
||||
result=result,
|
||||
result_type=result_type,
|
||||
attempt=attempt,
|
||||
start_timestamp_millis=start_timestamp_millis,
|
||||
):
|
||||
self._emit_mcp(mcp, emitter, callback)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user