Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ingest/bigquery): show report in output #8867

Merged
merged 7 commits into from
Sep 22, 2023

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Sep 20, 2023

Follow up on #8626.

The report currently shows the object refs:

 'schema_api_perf': '<datahub.ingestion.source.bigquery_v2.bigquery_report.BigQuerySchemaApiPerfReport object at 0x7f27859c5ba0>',
 'audit_log_api_perf': '<datahub.ingestion.source.bigquery_v2.bigquery_report.BigQueryAuditLogApiPerfReport object at 0x7f27859c5bd0>',

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Sep 20, 2023
Copy link
Collaborator

@mayurinehate mayurinehate left a comment

Choose a reason for hiding this comment

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

Oops. Thanks for catching this. This did work earlier when using inheritance, and stopped working after refractoring to use composition.

I quickly tried these changes and it still didn't work on my machine. Only printed empty objects

 'schema_api_perf': {},
 'audit_log_api_perf': {},

With suggested changes, it works as expected.

hsheth2 and others added 5 commits September 21, 2023 23:07
…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
@hsheth2
Copy link
Collaborator Author

hsheth2 commented Sep 22, 2023

@mayurinehate thanks - made those changes

…gquery_report.py

Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
@asikowitz asikowitz added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Sep 22, 2023
@hsheth2 hsheth2 merged commit c946c01 into datahub-project:master Sep 22, 2023
58 checks passed
@hsheth2 hsheth2 deleted the bq-report branch September 22, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata merge-pending-ci A PR that has passed review and should be merged once CI is green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants