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

[FEATURE] Add include_query_source parameter to the list method of QueryHistoryAPI #711

Open
chidifrank opened this issue Jul 18, 2024 · 0 comments · May be fixed by #710
Open

[FEATURE] Add include_query_source parameter to the list method of QueryHistoryAPI #711

chidifrank opened this issue Jul 18, 2024 · 0 comments · May be fixed by #710

Comments

@chidifrank
Copy link

Problem Statement

Currently when listing the query history using workspace.query_history.list we are unable to pass a include_query_source parameter so that responses will include source and context information of a query

Proposed Solution

  • Create the QuerySource dataclass and add it to the QueryInfo dataclass as a new field
  • Add an optional include_query_source parameter to the list method of QueryHistoryAPI which will add it to the list of parameters sent to the list query history endpoint

Additional Context

https://docs.databricks.com/api/workspace/queryhistory/list#res-query_source

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 a pull request may close this issue.

1 participant