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

Create the system.queries provider #24987

Closed
Tracked by #24972
hiltontj opened this issue May 10, 2024 · 0 comments · Fixed by #24992
Closed
Tracked by #24972

Create the system.queries provider #24987

hiltontj opened this issue May 10, 2024 · 0 comments · Fixed by #24992
Assignees
Labels

Comments

@hiltontj
Copy link
Contributor

hiltontj commented May 10, 2024

The system.queries table stores a log of queries performed by the QueryExecutor. This essentially exposes the QueryLog which will need to be elevated to the QueryExecutorImpl so that it lives beyond the lifetime of individual query requests.

The columns included in the system.queries table are:

  • id
  • phase
  • issue_time
  • query_type
  • query_text
  • partitions (int64)
  • parquet_files (int64)
  • plan_duration
  • permit_duration
  • execute_duration
  • end2end_duration
  • compute_duration
  • max_memory
  • success
  • running
  • cancelled
  • trace_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant