-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Conversation
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
@@ -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, " |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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', '')}" |
There was a problem hiding this comment.
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"
Adding sql as description to query entity
Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
Checklist