Skip to contents

List the history of queries through SQL warehouses.

Usage

list_query_history(
  client,
  filter_by = NULL,
  include_metrics = NULL,
  max_results = NULL,
  page_token = NULL
)

queryHistoryList(
  client,
  filter_by = NULL,
  include_metrics = NULL,
  max_results = NULL,
  page_token = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

filter_by

A filter to limit query history results.

include_metrics

Whether to include metrics about query.

max_results

Limit the number of results returned in one page.

page_token

A token that can be used to get the next page of results.

Value

data.frame with all of the response pages.

Details

You can filter by user ID, warehouse ID, status, and time range.