w.query_execution
: Query Execution¶
- class databricks.sdk.service.dashboards.QueryExecutionAPI¶
Query execution APIs for AI / BI Dashboards
- cancel_published_query_execution(dashboard_name: str, dashboard_revision_id: str [, tokens: Optional[List[str]]]) CancelQueryExecutionResponse ¶
Cancel the results for the a query for a published, embedded dashboard.
- Parameters:
dashboard_name – str
dashboard_revision_id – str
tokens – List[str] (optional) Example: EC0A..ChAB7WCEn_4Qo4vkLqEbXsxxEgh3Y2pbWw45WhoQXgZSQo9aS5q2ZvFcbvbx9CgA-PAEAQ
- Returns:
- execute_published_dashboard_query(dashboard_name: str, dashboard_revision_id: str [, override_warehouse_id: Optional[str]])¶
Execute a query for a published dashboard.
- Parameters:
dashboard_name – str Dashboard name and revision_id is required to retrieve PublishedDatasetDataModel which contains the list of datasets, warehouse_id, and embedded_credentials
dashboard_revision_id – str
override_warehouse_id – str (optional) A dashboard schedule can override the warehouse used as compute for processing the published dashboard queries
- poll_published_query_status(dashboard_name: str, dashboard_revision_id: str [, tokens: Optional[List[str]]]) PollQueryStatusResponse ¶
Poll the results for the a query for a published, embedded dashboard.
- Parameters:
dashboard_name – str
dashboard_revision_id – str
tokens – List[str] (optional) Example: EC0A..ChAB7WCEn_4Qo4vkLqEbXsxxEgh3Y2pbWw45WhoQXgZSQo9aS5q2ZvFcbvbx9CgA-PAEAQ
- Returns: