-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add query execution links to exporter results #1364
Conversation
statement_execution_id | ||
) | ||
query_execution_id = statement_execution.query_execution_id | ||
return f"{QuerybookSettings.PUBLIC_URL}/query_execution/{query_execution_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.
I think there is an env
in the url. e.g. querybook.pinadmin.com/data/query_execution
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.
thanks, good catch
def _save_sheet_to_statement_meta(self, sheet_url: str, statement_id: int): | ||
statement_execution = get_statement_execution_by_id(statement_id) | ||
meta_info = ( | ||
statement_execution.meta_info or "" |
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.
does statement_execution.meta_info
end with \n
?
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.
looks like we add a \n
at the end of every line for meta_info in querybook
* Add query execution links to exporter results * fix pr comments * update python version in lint workflow
Google sheets export:
Python export: