@finos/legend-query-builder 4.0.13 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderEvent.d.ts +3 -1
- package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderEvent.js +2 -0
- package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +5 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.js +6 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +7 -3
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +22 -0
- package/lib/components/QueryUsageViewer.d.ts.map +1 -0
- package/lib/components/QueryUsageViewer.js +33 -0
- package/lib/components/QueryUsageViewer.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +3 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/QueryBuilderResultState.d.ts +2 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +7 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +10 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +9 -2
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/package.json +6 -6
- package/src/__lib__/QueryBuilderEvent.ts +3 -0
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +23 -0
- package/src/components/QueryBuilderResultPanel.tsx +18 -1
- package/src/components/QueryUsageViewer.tsx +111 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -1
- package/src/components/filter/QueryBuilderFilterPanel.tsx +4 -1
- package/src/stores/QueryBuilderResultState.ts +8 -2
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +12 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +20 -0
- package/tsconfig.json +1 -0
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.1.1",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"@types/react": "18.2.13",
|
54
54
|
"@types/react-dom": "18.2.6",
|
55
55
|
"chart.js": "4.3.0",
|
56
|
-
"mathjs": "11.8.
|
56
|
+
"mathjs": "11.8.2",
|
57
57
|
"mobx": "6.9.0",
|
58
58
|
"mobx-react-lite": "3.4.3",
|
59
59
|
"monaco-editor": "0.39.0",
|
@@ -44,6 +44,7 @@ export declare class QueryBuilderResultState {
|
|
44
44
|
executionDuration?: number | undefined;
|
45
45
|
latestRunHashCode?: string | undefined;
|
46
46
|
queryRunPromise: Promise<ExecutionResult> | undefined;
|
47
|
+
isQueryUsageViewerOpened: boolean;
|
47
48
|
selectedCells: QueryBuilderTDSResultCellData[];
|
48
49
|
mousedOverCell: QueryBuilderTDSResultCellData | null;
|
49
50
|
isSelectingCells: boolean;
|
@@ -60,6 +61,7 @@ export declare class QueryBuilderResultState {
|
|
60
61
|
findColumnFromCoordinates: (colIndex: number) => string | number | boolean | null | undefined;
|
61
62
|
findRowFromRowIndex: (rowIndex: number) => (string | number | boolean | null)[];
|
62
63
|
findResultValueFromCoordinates: (resultCoordinate: [number, number]) => string | number | boolean | null | undefined;
|
64
|
+
setIsQueryUsageViewerOpened(val: boolean): void;
|
63
65
|
get checkForStaleResults(): boolean;
|
64
66
|
buildExecutionRawLambda(executionOptions?: LambdaFunctionBuilderOption): RawLambda;
|
65
67
|
exportData(format: string): GeneratorFn<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAIhB,KAAK,WAAW,EAEhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,8BAA8B,EAOpC,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAGpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CAClE;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,mCAAmC,CAAC;CAClD;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,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MAAM,KACf,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAQ7C;IAEF,mBAAmB,aACP,MAAM,KACf,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,EAAE,CAQrC;IAEF,8BAA8B,qBACV,CAAC,MAAM,EAAE,MAAM,CAAC,KACjC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAY7C;IAEF,2BAA2B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI/C,IAAI,oBAAoB,IAAI,OAAO,CAKlC;IAED,uBAAuB,CACrB,gBAAgB,CAAC,EAAE,2BAA2B,GAC7C,SAAS;IA2BX,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAoD7C,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IA2E7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CA2FjD"}
|
@@ -35,6 +35,7 @@ export class QueryBuilderResultState {
|
|
35
35
|
executionDuration;
|
36
36
|
latestRunHashCode;
|
37
37
|
queryRunPromise = undefined;
|
38
|
+
isQueryUsageViewerOpened = false;
|
38
39
|
selectedCells;
|
39
40
|
mousedOverCell = null;
|
40
41
|
isSelectingCells;
|
@@ -51,6 +52,7 @@ export class QueryBuilderResultState {
|
|
51
52
|
isRunningQuery: observable,
|
52
53
|
isSelectingCells: observable,
|
53
54
|
setIsSelectingCells: action,
|
55
|
+
isQueryUsageViewerOpened: observable,
|
54
56
|
setIsRunningQuery: action,
|
55
57
|
setExecutionResult: action,
|
56
58
|
setExecutionDuration: action,
|
@@ -59,6 +61,7 @@ export class QueryBuilderResultState {
|
|
59
61
|
setSelectedCells: action,
|
60
62
|
setMouseOverCell: action,
|
61
63
|
setQueryRunPromise: action,
|
64
|
+
setIsQueryUsageViewerOpened: action,
|
62
65
|
exportData: flow,
|
63
66
|
runQuery: flow,
|
64
67
|
cancelQuery: flow,
|
@@ -119,6 +122,9 @@ export class QueryBuilderResultState {
|
|
119
122
|
}
|
120
123
|
return this.executionResult.result.rows[rowIndex]?.values[colIndex];
|
121
124
|
};
|
125
|
+
setIsQueryUsageViewerOpened(val) {
|
126
|
+
this.isQueryUsageViewerOpened = val;
|
127
|
+
}
|
122
128
|
get checkForStaleResults() {
|
123
129
|
if (this.latestRunHashCode !== this.queryBuilderState.hashCode) {
|
124
130
|
return true;
|
@@ -157,7 +163,7 @@ export class QueryBuilderResultState {
|
|
157
163
|
}));
|
158
164
|
let content;
|
159
165
|
if (result instanceof RawExecutionResult) {
|
160
|
-
content = result.value;
|
166
|
+
content = result.value === null ? 'null' : result.value.toString();
|
161
167
|
}
|
162
168
|
else {
|
163
169
|
content = JSON.stringify(extractExecutionResultValues(result), null, DEFAULT_TAB_SIZE);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EAEpB,wBAAwB,EACxB,WAAW,EACX,SAAS,EACT,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,kBAAkB,EAClB,gCAAgC,EAChC,oBAAoB,EACpB,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,kCA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AiB,CAAC,YAAY,CAAC,kBAAkB,CACtE,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;gBACJ,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;aACvC;YAAC,MAAM;gBACN,aAAa;aACd;YACD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;YAEpE,SAAS;YACT,MAAM,CAAC,OAAO;gBACZ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,qBAAqB,CACvE,SAAS,EACT,MAAM,CAAC,OAAO,CACf,CAAC;YACJ,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
|
@@ -26,6 +26,12 @@ export type LoadQueryFilterOption = {
|
|
26
26
|
export type DatasetEntitlementAccessReportActionConfiguration = {
|
27
27
|
renderer: (info: DatasetAccessInfo, dataAccessState: DataAccessState) => React.ReactNode;
|
28
28
|
};
|
29
|
+
export type QueryExportUsageConfiguration = {
|
30
|
+
key: string;
|
31
|
+
title: string;
|
32
|
+
icon?: React.ReactNode | undefined;
|
33
|
+
renderer(): React.ReactNode;
|
34
|
+
};
|
29
35
|
export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
|
30
36
|
/**
|
31
37
|
* Get the list of filter options for query loader.
|
@@ -35,5 +41,9 @@ export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendAp
|
|
35
41
|
* Get the list of dataset entitlement access report action configurations.
|
36
42
|
*/
|
37
43
|
getExtraDatasetEntitlementAccessNotGrantedReportActionConfigurations?(): DatasetEntitlementAccessReportActionConfiguration[];
|
44
|
+
/**
|
45
|
+
* Get the list of query usage configurations
|
46
|
+
*/
|
47
|
+
getExtraQueryUsageConfigurations?(): QueryExportUsageConfiguration[];
|
38
48
|
}
|
39
49
|
//# sourceMappingURL=QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CACR,IAAI,EAAE,iBAAiB,EACvB,eAAe,EAAE,eAAe,KAC7B,KAAK,CAAC,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CACR,IAAI,EAAE,iBAAiB,EACvB,eAAe,EAAE,eAAe,KAC7B,KAAK,CAAC,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IACnC,QAAQ,IAAI,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;IAE7H;;OAEG;IACH,gCAAgC,CAAC,IAAI,6BAA6B,EAAE,CAAC;CACtE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAGL,WAAW,EAEX,KAAK,WAAW,
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAGL,WAAW,EAEX,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,kCAAkC,EAEvC,KAAK,YAAY,EACjB,0BAA0B,EAC1B,KAAK,EAWL,YAAY,EAgBb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAKvF,oBAAY,oCAAoC;IA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AG,IAAI;CAG/D;AAED,qBAAa,yBAAyB;IACpC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,gBAAgB,uCAA8C;IACvE,QAAQ,CAAC,mBAAmB,EAAE,+BAA+B,CAAC;IAC9D,QAAQ,CAAC,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC;IAClE,oBAAoB,UAAQ;IAC5B,sBAAsB,UAAS;IAC/B,uBAAuB,UAAQ;IAC/B,iCAAiC,cAAwB;IACzD,kCAAkC,CAAC,EAAE,kCAAkC,CAAC;gBAE5D,iBAAiB,EAAE,iBAAiB;IAuBhD,IAAI,mBAAmB,IAAI,QAAQ,CAAC,gCAAgC,CAAC,CAKpE;IAED,WAAW,CACT,GAAG,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GAAG,SAAS,GAC1D,IAAI;IAIP,WAAW,IAAI,IAAI;IAMnB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI3C,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI7C,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,eAAe,IAAI,IAAI;IAatB,2BAA2B,IAAI,WAAW,CAAC,IAAI,CAAC;IA8ChD,WAAW,CACV,IAAI,EAAE,wCAAwC,GAC7C,WAAW,CAAC,IAAI,CAAC;CA0GrB"}
|
@@ -13,14 +13,15 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { guaranteeNonNullable, addUniqueEntry, ActionState, assertErrorThrown, assertType, UnsupportedOperationError, } from '@finos/legend-shared';
|
17
|
-
import { AbstractPropertyExpression, Class, VariableExpression, GenericType, GenericTypeExplicitReference, SimpleFunctionExpression, InstanceValue, extractElementNameFromPath, matchFunctionName, TYPE_CAST_TOKEN, VARIABLE_REFERENCE_TOKEN, ARROW_FUNCTION_TOKEN, Multiplicity, getAllClassProperties, getAllOwnClassProperties, getAllClassDerivedProperties, Enum, EntityMappedProperty, Enumeration, DerivedProperty, Property, Association, PRIMITIVE_TYPE, TDSExecutionResult, getAllSubclasses, PropertyExplicitReference, } from '@finos/legend-graph';
|
16
|
+
import { guaranteeNonNullable, addUniqueEntry, ActionState, assertErrorThrown, assertType, UnsupportedOperationError, StopWatch, } from '@finos/legend-shared';
|
17
|
+
import { AbstractPropertyExpression, Class, VariableExpression, GenericType, GenericTypeExplicitReference, SimpleFunctionExpression, InstanceValue, extractElementNameFromPath, matchFunctionName, TYPE_CAST_TOKEN, VARIABLE_REFERENCE_TOKEN, ARROW_FUNCTION_TOKEN, Multiplicity, getAllClassProperties, getAllOwnClassProperties, getAllClassDerivedProperties, Enum, EntityMappedProperty, Enumeration, DerivedProperty, Property, Association, PRIMITIVE_TYPE, TDSExecutionResult, getAllSubclasses, PropertyExplicitReference, reportGraphAnalytics, } from '@finos/legend-graph';
|
18
18
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
19
19
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
20
20
|
import { buildNonNumericPreviewDataQuery, buildNumericPreviewDataQuery, } from '../QueryBuilderPreviewDataHelper.js';
|
21
21
|
import { QueryBuilderPropertySearchState } from './QueryBuilderPropertySearchState.js';
|
22
22
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
23
23
|
import { propertyExpression_setFunc } from '../shared/ValueSpecificationModifierHelper.js';
|
24
|
+
import { QueryBuilderTelemetryHelper } from '../../__lib__/QueryBuilderTelemetryHelper.js';
|
24
25
|
export var QUERY_BUILDER_EXPLORER_TREE_DND_TYPE;
|
25
26
|
(function (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE) {
|
26
27
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE["ROOT"] = "ROOT";
|
@@ -373,10 +374,16 @@ export class QueryBuilderExplorerState {
|
|
373
374
|
this.queryBuilderState.mapping !==
|
374
375
|
this.mappingModelCoverageAnalysisResult?.mapping) {
|
375
376
|
this.mappingModelCoverageAnalysisState.inProgress();
|
377
|
+
QueryBuilderTelemetryHelper.logEvent_QueryMappingModelCoverageAnalysisLaunched(this.queryBuilderState.applicationStore.telemetryService);
|
378
|
+
const stopWatch = new StopWatch();
|
379
|
+
const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
|
376
380
|
this.mappingModelCoverageAnalysisState.setMessage('Analyzing Mapping...');
|
377
381
|
try {
|
378
382
|
this.mappingModelCoverageAnalysisResult = (yield flowResult(this.queryBuilderState.graphManagerState.graphManager.analyzeMappingModelCoverage(this.queryBuilderState.mapping, this.queryBuilderState.graphManagerState.graph)));
|
379
383
|
this.refreshTreeData();
|
384
|
+
report.timings =
|
385
|
+
this.queryBuilderState.applicationStore.timeService.finalizeTimingsRecord(stopWatch, report.timings);
|
386
|
+
QueryBuilderTelemetryHelper.logEvent_QueryMappingModelCoverageAnalysisSucceeded(this.queryBuilderState.applicationStore.telemetryService, report);
|
380
387
|
}
|
381
388
|
catch (error) {
|
382
389
|
assertErrorThrown(error);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EAC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C,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,GAE7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE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,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.1.1",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,10 +42,10 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.0.
|
46
|
-
"@finos/legend-art": "7.0.
|
47
|
-
"@finos/legend-graph": "30.0.
|
48
|
-
"@finos/legend-lego": "1.1.
|
45
|
+
"@finos/legend-application": "15.0.25",
|
46
|
+
"@finos/legend-art": "7.0.25",
|
47
|
+
"@finos/legend-graph": "30.0.10",
|
48
|
+
"@finos/legend-lego": "1.1.2",
|
49
49
|
"@finos/legend-server-depot": "6.0.16",
|
50
50
|
"@finos/legend-shared": "10.0.15",
|
51
51
|
"@finos/legend-storage": "3.0.65",
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"@types/react": "18.2.13",
|
54
54
|
"@types/react-dom": "18.2.6",
|
55
55
|
"chart.js": "4.3.0",
|
56
|
-
"mathjs": "11.8.
|
56
|
+
"mathjs": "11.8.2",
|
57
57
|
"mobx": "6.9.0",
|
58
58
|
"mobx-react-lite": "3.4.3",
|
59
59
|
"monaco-editor": "0.39.0",
|
@@ -23,6 +23,9 @@ export enum QUERY_BUILDER_EVENT {
|
|
23
23
|
GENERATE_EXECUTION_PLAN__SUCCESS = 'query-builder.generate-plan.success',
|
24
24
|
DEBUG_EXECUTION_PLAN__SUCCESS = 'query-builder.debug-plan.success',
|
25
25
|
BUILD_EXECUTION_PLAN__SUCCESS = 'query-builder.build-plan.success',
|
26
|
+
|
27
|
+
MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH = 'query-builder.mapping-model-coverage-analysis.launch',
|
28
|
+
MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS = 'query-builder.mapping-model-coverage-analysis.success',
|
26
29
|
}
|
27
30
|
|
28
31
|
export enum QUERY_BUILDER_FILTER_EVENT {
|
@@ -25,6 +25,10 @@ import {
|
|
25
25
|
type QueryExecution_TelemetryData = GraphManagerOperationReport & {
|
26
26
|
dependenciesCount: number;
|
27
27
|
};
|
28
|
+
type QueryMappingModelCoverageAnalysis_TelemetryData =
|
29
|
+
GraphManagerOperationReport & {
|
30
|
+
dependenciesCount: number;
|
31
|
+
};
|
28
32
|
|
29
33
|
export class QueryBuilderTelemetryHelper {
|
30
34
|
static logEvent_QueryRunLaunched(service: TelemetryService): void {
|
@@ -182,4 +186,23 @@ export class QueryBuilderTelemetryHelper {
|
|
182
186
|
{},
|
183
187
|
);
|
184
188
|
}
|
189
|
+
|
190
|
+
static logEvent_QueryMappingModelCoverageAnalysisLaunched(
|
191
|
+
service: TelemetryService,
|
192
|
+
): void {
|
193
|
+
service.logEvent(
|
194
|
+
QUERY_BUILDER_EVENT.MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH,
|
195
|
+
{},
|
196
|
+
);
|
197
|
+
}
|
198
|
+
|
199
|
+
static logEvent_QueryMappingModelCoverageAnalysisSucceeded(
|
200
|
+
service: TelemetryService,
|
201
|
+
data: QueryMappingModelCoverageAnalysis_TelemetryData,
|
202
|
+
): void {
|
203
|
+
service.logEvent(
|
204
|
+
QUERY_BUILDER_EVENT.MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS,
|
205
|
+
data,
|
206
|
+
);
|
207
|
+
}
|
185
208
|
}
|
@@ -112,6 +112,7 @@ import {
|
|
112
112
|
QueryBuilderPostFilterOperator_IsEmpty,
|
113
113
|
QueryBuilderPostFilterOperator_IsNotEmpty,
|
114
114
|
} from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js';
|
115
|
+
import { QueryUsageViewer } from './QueryUsageViewer.js';
|
115
116
|
|
116
117
|
export const tryToFormatSql = (sql: string): string => {
|
117
118
|
try {
|
@@ -702,10 +703,14 @@ const QueryBuilderResultValues = observer(
|
|
702
703
|
/>
|
703
704
|
);
|
704
705
|
} else if (executionResult instanceof RawExecutionResult) {
|
706
|
+
const inputValue =
|
707
|
+
executionResult.value === null
|
708
|
+
? 'null'
|
709
|
+
: executionResult.value.toString();
|
705
710
|
return (
|
706
711
|
<CodeEditor
|
707
712
|
language={CODE_EDITOR_LANGUAGE.TEXT}
|
708
|
-
inputValue={
|
713
|
+
inputValue={inputValue}
|
709
714
|
isReadOnly={true}
|
710
715
|
/>
|
711
716
|
);
|
@@ -1044,6 +1049,15 @@ export const QueryBuilderResultPanel = observer(
|
|
1044
1049
|
{format}
|
1045
1050
|
</MenuContentItem>
|
1046
1051
|
))}
|
1052
|
+
<MenuContentItem
|
1053
|
+
className="query-builder__result__export__dropdown__menu__item"
|
1054
|
+
onClick={(): void =>
|
1055
|
+
resultState.setIsQueryUsageViewerOpened(true)
|
1056
|
+
}
|
1057
|
+
disabled={queryBuilderState.changeDetectionState.hasChanged}
|
1058
|
+
>
|
1059
|
+
View Query Usage...
|
1060
|
+
</MenuContentItem>
|
1047
1061
|
</MenuContent>
|
1048
1062
|
}
|
1049
1063
|
menuProps={{
|
@@ -1059,6 +1073,9 @@ export const QueryBuilderResultPanel = observer(
|
|
1059
1073
|
<CaretDownIcon />
|
1060
1074
|
</div>
|
1061
1075
|
</DropdownMenu>
|
1076
|
+
{resultState.isQueryUsageViewerOpened && (
|
1077
|
+
<QueryUsageViewer resultState={resultState} />
|
1078
|
+
)}
|
1062
1079
|
</div>
|
1063
1080
|
</div>
|
1064
1081
|
<PanelContent>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
import { observer } from 'mobx-react-lite';
|
18
|
+
import {
|
19
|
+
Dialog,
|
20
|
+
Modal,
|
21
|
+
ModalHeader,
|
22
|
+
ModalBody,
|
23
|
+
PanelDivider,
|
24
|
+
ModalFooter,
|
25
|
+
ModalFooterButton,
|
26
|
+
BlankPanelContent,
|
27
|
+
clsx,
|
28
|
+
} from '@finos/legend-art';
|
29
|
+
import { useApplicationStore } from '@finos/legend-application';
|
30
|
+
import type { QueryBuilder_LegendApplicationPlugin_Extension } from '../stores/QueryBuilder_LegendApplicationPlugin_Extension.js';
|
31
|
+
import { useState } from 'react';
|
32
|
+
import type { QueryBuilderResultState } from '../stores/QueryBuilderResultState.js';
|
33
|
+
|
34
|
+
export const QueryUsageViewer = observer(
|
35
|
+
(props: { resultState: QueryBuilderResultState }) => {
|
36
|
+
const { resultState } = props;
|
37
|
+
const applicationStore = useApplicationStore();
|
38
|
+
|
39
|
+
const extraQueryUsageOptions = applicationStore.pluginManager
|
40
|
+
.getApplicationPlugins()
|
41
|
+
.flatMap(
|
42
|
+
(plugin) =>
|
43
|
+
(
|
44
|
+
plugin as QueryBuilder_LegendApplicationPlugin_Extension
|
45
|
+
).getExtraQueryUsageConfigurations?.() ?? [],
|
46
|
+
);
|
47
|
+
const [selectedTab, setSelectedTab] = useState<string | undefined>(
|
48
|
+
extraQueryUsageOptions[0]?.title,
|
49
|
+
);
|
50
|
+
const currentTabExtensionConfig = extraQueryUsageOptions.find(
|
51
|
+
(option) => option.title === selectedTab,
|
52
|
+
);
|
53
|
+
|
54
|
+
return (
|
55
|
+
<Dialog
|
56
|
+
open={resultState.isQueryUsageViewerOpened}
|
57
|
+
onClose={() => resultState.setIsQueryUsageViewerOpened(false)}
|
58
|
+
>
|
59
|
+
<Modal className="query-builder__usage-viewer__modal" darkMode={true}>
|
60
|
+
<ModalHeader title="Query Usage" />
|
61
|
+
<ModalBody className="query-builder__usage-viewer__body">
|
62
|
+
<>
|
63
|
+
{extraQueryUsageOptions.length === 0 ? (
|
64
|
+
<BlankPanelContent>
|
65
|
+
Query usage is not available
|
66
|
+
</BlankPanelContent>
|
67
|
+
) : (
|
68
|
+
<>
|
69
|
+
<div className="query-builder__usage-viewer__tab__header">
|
70
|
+
<div className="query-builder__usage-viewer__tabs">
|
71
|
+
{extraQueryUsageOptions.map((config) => (
|
72
|
+
<button
|
73
|
+
key={config.key}
|
74
|
+
className={clsx('query-builder__usage-viewer__tab', {
|
75
|
+
'query-builder__usage-viewer__tab--active':
|
76
|
+
selectedTab === config.key,
|
77
|
+
})}
|
78
|
+
tabIndex={-1}
|
79
|
+
onClick={() => setSelectedTab(config.key)}
|
80
|
+
>
|
81
|
+
{config.icon !== undefined && (
|
82
|
+
<div className="query-builder__usage-viewer__tab__icon">
|
83
|
+
{config.icon}
|
84
|
+
</div>
|
85
|
+
)}
|
86
|
+
<div className="query-builder__usage-viewer__tab__label">
|
87
|
+
{config.title}
|
88
|
+
</div>
|
89
|
+
</button>
|
90
|
+
))}
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
<div className="query-builder__usage-viewer__content">
|
94
|
+
{currentTabExtensionConfig?.renderer()}
|
95
|
+
</div>
|
96
|
+
</>
|
97
|
+
)}
|
98
|
+
<PanelDivider />
|
99
|
+
</>
|
100
|
+
</ModalBody>
|
101
|
+
<ModalFooter>
|
102
|
+
<ModalFooterButton
|
103
|
+
onClick={() => resultState.setIsQueryUsageViewerOpened(false)}
|
104
|
+
text="Close"
|
105
|
+
/>
|
106
|
+
</ModalFooter>
|
107
|
+
</Modal>
|
108
|
+
</Dialog>
|
109
|
+
);
|
110
|
+
},
|
111
|
+
);
|
@@ -959,6 +959,9 @@ const QueryBuilderPostFilterPanelContent = observer(
|
|
959
959
|
[applicationStore, handleDrop],
|
960
960
|
);
|
961
961
|
|
962
|
+
const addPostFilterRef = useRef<HTMLInputElement>(null);
|
963
|
+
dropTargetConnector(addPostFilterRef);
|
964
|
+
|
962
965
|
const { showDroppableSuggestion } = useDragLayer((monitor) => ({
|
963
966
|
showDroppableSuggestion:
|
964
967
|
monitor.isDragging() &&
|
@@ -1077,7 +1080,7 @@ const QueryBuilderPostFilterPanelContent = observer(
|
|
1077
1080
|
)}
|
1078
1081
|
{showDroppableSuggestion && !postFilterState.isEmpty && (
|
1079
1082
|
<div
|
1080
|
-
ref={
|
1083
|
+
ref={addPostFilterRef}
|
1081
1084
|
className={clsx(
|
1082
1085
|
'query-builder-post-filter-tree__blank-node--droppable--tall',
|
1083
1086
|
{
|
@@ -898,6 +898,9 @@ export const QueryBuilderFilterPanel = observer(
|
|
898
898
|
[handleDrop],
|
899
899
|
);
|
900
900
|
|
901
|
+
const addFilterRef = useRef<HTMLInputElement>(null);
|
902
|
+
dropTargetConnector(addFilterRef);
|
903
|
+
|
901
904
|
return (
|
902
905
|
<div
|
903
906
|
data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER}
|
@@ -1014,7 +1017,7 @@ export const QueryBuilderFilterPanel = observer(
|
|
1014
1017
|
|
1015
1018
|
{showDroppableSuggestion && !filterState.isEmpty && (
|
1016
1019
|
<div
|
1017
|
-
ref={
|
1020
|
+
ref={addFilterRef}
|
1018
1021
|
className={clsx(
|
1019
1022
|
'query-builder-post-filter-tree__blank-node--droppable--tall',
|
1020
1023
|
{
|
@@ -81,6 +81,7 @@ export class QueryBuilderResultState {
|
|
81
81
|
executionDuration?: number | undefined;
|
82
82
|
latestRunHashCode?: string | undefined;
|
83
83
|
queryRunPromise: Promise<ExecutionResult> | undefined = undefined;
|
84
|
+
isQueryUsageViewerOpened = false;
|
84
85
|
|
85
86
|
selectedCells: QueryBuilderTDSResultCellData[];
|
86
87
|
mousedOverCell: QueryBuilderTDSResultCellData | null = null;
|
@@ -99,6 +100,7 @@ export class QueryBuilderResultState {
|
|
99
100
|
isRunningQuery: observable,
|
100
101
|
isSelectingCells: observable,
|
101
102
|
setIsSelectingCells: action,
|
103
|
+
isQueryUsageViewerOpened: observable,
|
102
104
|
setIsRunningQuery: action,
|
103
105
|
setExecutionResult: action,
|
104
106
|
setExecutionDuration: action,
|
@@ -107,7 +109,7 @@ export class QueryBuilderResultState {
|
|
107
109
|
setSelectedCells: action,
|
108
110
|
setMouseOverCell: action,
|
109
111
|
setQueryRunPromise: action,
|
110
|
-
|
112
|
+
setIsQueryUsageViewerOpened: action,
|
111
113
|
exportData: flow,
|
112
114
|
runQuery: flow,
|
113
115
|
cancelQuery: flow,
|
@@ -201,6 +203,10 @@ export class QueryBuilderResultState {
|
|
201
203
|
return this.executionResult.result.rows[rowIndex]?.values[colIndex];
|
202
204
|
};
|
203
205
|
|
206
|
+
setIsQueryUsageViewerOpened(val: boolean): void {
|
207
|
+
this.isQueryUsageViewerOpened = val;
|
208
|
+
}
|
209
|
+
|
204
210
|
get checkForStaleResults(): boolean {
|
205
211
|
if (this.latestRunHashCode !== this.queryBuilderState.hashCode) {
|
206
212
|
return true;
|
@@ -265,7 +271,7 @@ export class QueryBuilderResultState {
|
|
265
271
|
)) as ExecutionResult;
|
266
272
|
let content: string;
|
267
273
|
if (result instanceof RawExecutionResult) {
|
268
|
-
content = result.value;
|
274
|
+
content = result.value === null ? 'null' : result.value.toString();
|
269
275
|
} else {
|
270
276
|
content = JSON.stringify(
|
271
277
|
extractExecutionResultValues(result),
|