Adding top operations to execution plans (#19902)

* Adding top operations to execution plans

* Adding title to links

* Fixing pr comments

* Hiding top operations icon in execution plan editor

* Reducing outline width, adding separator and removing placeholder text

* Registering TopOperationsTabView
This commit is contained in:
Aasim Khan
2022-07-07 12:50:52 -07:00
committed by GitHub
parent 738ea546af
commit 9cfa1436d9
14 changed files with 580 additions and 34 deletions

View File

@@ -1310,6 +1310,10 @@ declare module 'azdata' {
* Warning/parallelism badges applicable to the current node
*/
badges: ExecutionPlanBadge[];
/**
* Data to show in top operations table for the node.
*/
topOperationsData: TopOperationsDataItem[];
}
export interface ExecutionPlanBadge {
@@ -1475,6 +1479,21 @@ declare module 'azdata' {
*/
compareExecutionPlanGraph(firstPlanFile: ExecutionPlanGraphInfo, secondPlanFile: ExecutionPlanGraphInfo): Thenable<ExecutionPlanComparisonResult>;
}
export interface TopOperationsDataItem {
/**
* Column name for the top operation data item
*/
columnName: string;
/**
* Cell data type for the top operation data item
*/
dataType: ExecutionPlanGraphElementPropertyDataType;
/**
* Cell value for the top operation data item
*/
displayValue: string | number | boolean;
}
}
/**