Skip to content

Conversation

@rudolfix
Copy link
Collaborator

Description

Implements #754
Implements #757

@netlify
Copy link

netlify bot commented Dec 18, 2023

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit d5292d1
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/6584dcb72298f5000886e4f4

@rudolfix rudolfix requested a review from sh-rp December 20, 2023 08:22
@rudolfix rudolfix marked this pull request as ready for review December 21, 2023 09:11
"""ids of the loaded packages"""
load_packages: List[LoadPackageInfo]
"""Information on loaded packages"""
started_at: datetime.datetime
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should have a finished_at entry, no? currently I am getting a value here for the load step I think, but not for the others.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

OK I will add it! for extract and normalize it is easy because those steps are atomic so I can just use now() as finished at

"job_metrics": {job.job_id(): metrics for job, metrics in job_metrics.items()},
"table_metrics": table_metrics,
"resource_metrics": resource_metrics,
"dag": source.resources.selected_dag,
Copy link
Collaborator

Choose a reason for hiding this comment

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

so from this we can see which resources where selected during pipeline run, right? But the info which table stems from which resource is not in here, is it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you can get this information from the schema (there's resource tag for each table). also it won't be too hard to add this info.
I'd merge the stuff as it is. or make a clear request that you want it :) @sh-rp

@rudolfix
Copy link
Collaborator Author

@sh-rp I'll be adding more tests mostly for the shapes of the data to this PR

@rudolfix rudolfix force-pushed the rfix/adds-extract-normalize-traces branch from ebff184 to 4a240ca Compare December 21, 2023 21:19
@rudolfix rudolfix merged commit ed364ec into devel Dec 22, 2023
@rudolfix rudolfix deleted the rfix/adds-extract-normalize-traces branch December 22, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants