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/mode): Improve query lineage #10284

Merged
merged 37 commits into from
May 8, 2024

Conversation

treff7es
Copy link
Contributor

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 Apr 15, 2024
Using id if name is None for a dashboard
- Using set for chart fields to make sure we don't have duplicates
- Generating less warning on missing chart type
@treff7es treff7es changed the title chore(ingest/mode): Adding a bit more verbose logging fix(ingest/mode): Improve query lineage Apr 16, 2024
@@ -268,7 +285,7 @@ def __init__(self, ctx: PipelineContext, config: ModeConfig):
except HTTPError as http_error:
self.report.report_failure(
key="mode-session",
reason=f"Unable to retrieve user "
reason=f"Unable to verify connection"
f"{self.config.token} information, "
Copy link
Collaborator

Choose a reason for hiding this comment

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

not sure we want to log the token

unless this is not an auth token, but something else

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh, correct, I didn't notice we have this.
We shouldn't log this, you are right.

@@ -329,7 +361,7 @@ def construct_dashboard(
paths=[
f"/mode/{self.config.workspace}/"
f"{space_name}/"
f"{report_info.get('name')}"
f"{title if title else report_info.get('id', '')}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe let's format it nicer e.g. "Dashboard # 023"

@hsheth2 hsheth2 merged commit 897e648 into datahub-project:master May 8, 2024
57 checks passed
sleeperdeep pushed a commit to sleeperdeep/datahub that referenced this pull request Jun 25, 2024
Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants