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

[Trino] Show query ID in logs for the Trino editor #3857

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

agl29
Copy link
Collaborator

@agl29 agl29 commented Oct 8, 2024

What changes were proposed in this pull request?

  • Show query id in Hue-trino editor as there is no api to fetch the logs

How was this patch tested?

  • Manually
  • unittest

@@ -343,6 +343,11 @@ def _get_columns(self, database, table):
for col in columns
]

def get_log(self, notebook, snippet, startFrom=None, size=None):
guid = snippet['result']['handle']['guid'] if snippet.get('result') and snippet['result'].get('handle') and \
Copy link
Collaborator

Choose a reason for hiding this comment

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

startFrom, size and notebook are not used here, can that be removed?

@agl29 agl29 merged commit 961f7ea into master Oct 10, 2024
6 checks passed
@agl29 agl29 deleted the trino_logs branch October 10, 2024 10:19
Harshg999 pushed a commit that referenced this pull request Oct 14, 2024
- It accidentally got pushed with #3857.
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