@finos/legend-query-builder 3.2.6 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +28 -6
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +11 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +2 -2
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +15 -4
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +2 -1
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts +3 -0
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +18 -3
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/package.json +5 -5
- package/src/components/QueryBuilderResultPanel.tsx +88 -2
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +29 -11
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +99 -12
- package/src/stores/QueryLoaderState.ts +2 -1
- package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +38 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAyZxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAuWjD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -14,13 +14,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { BlankPanelContent, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, MenuContentDivider, } from '@finos/legend-art';
|
17
|
+
import { BlankPanelContent, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, MenuContentDivider, Button, SQLIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelDivider, } from '@finos/legend-art';
|
18
|
+
import { format as formatSQL } from 'sql-formatter';
|
18
19
|
import { observer } from 'mobx-react-lite';
|
19
20
|
import { flowResult } from 'mobx';
|
20
|
-
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, } from '@finos/legend-graph';
|
21
|
+
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, RelationalExecutionActivities, } from '@finos/legend-graph';
|
21
22
|
import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
|
22
|
-
import { assertErrorThrown, guaranteeNonNullable, isBoolean, prettyDuration, prettyCONSTName, } from '@finos/legend-shared';
|
23
|
-
import { forwardRef, useRef } from 'react';
|
23
|
+
import { assertErrorThrown, guaranteeNonNullable, isBoolean, prettyDuration, prettyCONSTName, filterByType, } from '@finos/legend-shared';
|
24
|
+
import { forwardRef, useRef, useState } from 'react';
|
24
25
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, } from '../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
25
26
|
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
|
26
27
|
import { QueryBuilderPostFilterOperator_Equal, QueryBuilderPostFilterOperator_NotEqual, } from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js';
|
@@ -194,6 +195,21 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
194
195
|
const resultState = queryBuilderState.resultState;
|
195
196
|
const queryParametersState = queryBuilderState.parametersState;
|
196
197
|
const executionResult = resultState.executionResult;
|
198
|
+
const [showSqlModal, setShowSqlModal] = useState(false);
|
199
|
+
const relationalActivities = executionResult?.activities;
|
200
|
+
const executedSqls = relationalActivities
|
201
|
+
?.filter(filterByType(RelationalExecutionActivities))
|
202
|
+
.map((relationalActivity) => relationalActivity.sql);
|
203
|
+
let executedSql = '';
|
204
|
+
if (executedSqls?.length && executedSqls.length > 1) {
|
205
|
+
for (let i = 0; i < executedSqls.length; i++) {
|
206
|
+
executedSql += `\n--QUERY #${i + 1}\n`;
|
207
|
+
executedSql += `${executedSqls[i]}\n`;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
else {
|
211
|
+
executedSql += executedSqls?.[0];
|
212
|
+
}
|
197
213
|
const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
|
198
214
|
const USER_ATTESTATION_MESSAGE = 'I attest that I am aware of the sensitive data leakage risk when exporting queried data. The data I export will only be used by me.';
|
199
215
|
const exportQueryResults = async (format) => {
|
@@ -246,6 +262,12 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
246
262
|
queryBuilderState.resultState.setPreviewLimit(val === '' ? 0 : parseInt(val, 10));
|
247
263
|
};
|
248
264
|
const allowSettingPreviewLimit = queryBuilderState.isQuerySupported;
|
265
|
+
const copyExpression = (value) => {
|
266
|
+
applicationStore.clipboardService
|
267
|
+
.copyTextToClipboard(value)
|
268
|
+
.then(() => applicationStore.notificationService.notifySuccess('SQL Query copied', undefined, 2500))
|
269
|
+
.catch(applicationStore.alertUnhandledError);
|
270
|
+
};
|
249
271
|
const isRunQueryDisabled = !isQueryValid ||
|
250
272
|
resultState.isGeneratingPlan ||
|
251
273
|
resultState.pressedRunQuery.isInProgress;
|
@@ -267,7 +289,7 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
267
289
|
const resultDescription = executionResult
|
268
290
|
? getResultSetDescription(executionResult)
|
269
291
|
: undefined;
|
270
|
-
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_PANEL, className: "panel query-builder__result", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Query..." })), _jsx("div", { className: "query-builder__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [allowSettingPreviewLimit && (_jsxs("div", { className: "query-builder__result__limit", children: [_jsx("div", { className: "query-builder__result__limit__label", children: "preview limit" }), _jsx("input", { className: "input--dark query-builder__result__limit__input", spellCheck: false, type: "number", value: resultState.previewLimit, onChange: changeLimit, disabled: !isQueryValid })] })), resultState.isRunningQuery ? (_jsx("button", { className: "query-builder__result__stop-btn", onClick: cancelQuery, tabIndex: -1, disabled: !isQueryValid, children: _jsxs("div", { className: "btn--dark btn--caution query-builder__result__stop-btn__label", children: [_jsx(PauseCircleIcon, { className: "query-builder__result__stop-btn__label__icon" }), _jsx("div", { className: "query-builder__result__stop-btn__label__title", children: "Stop" })] }) })) : (_jsxs("div", { className: "query-builder__result__execute-btn", children: [_jsxs("button", { className: "query-builder__result__execute-btn__label", onClick: runQuery, tabIndex: -1, title: allValidationIssues.length
|
292
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_PANEL, className: "panel query-builder__result", children: [showSqlModal && executedSqls && (_jsx(Dialog, { open: Boolean(showSqlModal), onClose: () => setShowSqlModal(false), children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Executed SQL Query" }), _jsx(ModalBody, { className: "query-builder__sql__modal", children: _jsxs(_Fragment, { children: [_jsx(CodeEditor, { inputValue: formatSQL(executedSql), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, hideMinimap: true }), _jsx(PanelDivider, {})] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { formatText: false, onClick: () => copyExpression(executedSql), text: "Copy SQL to Clipboard" }), _jsx(ModalFooterButton, { onClick: () => setShowSqlModal(false), text: "Close" })] })] }) })), _jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), executedSqls && (_jsx(Button, { onClick: () => setShowSqlModal(true), title: "Executed SQL", className: "query-builder__result__sql__actions", children: _jsx(SQLIcon, {}) })), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Query..." })), _jsx("div", { className: "query-builder__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [allowSettingPreviewLimit && (_jsxs("div", { className: "query-builder__result__limit", children: [_jsx("div", { className: "query-builder__result__limit__label", children: "preview limit" }), _jsx("input", { className: "input--dark query-builder__result__limit__input", spellCheck: false, type: "number", value: resultState.previewLimit, onChange: changeLimit, disabled: !isQueryValid })] })), resultState.isRunningQuery ? (_jsx("button", { className: "query-builder__result__stop-btn", onClick: cancelQuery, tabIndex: -1, disabled: !isQueryValid, children: _jsxs("div", { className: "btn--dark btn--caution query-builder__result__stop-btn__label", children: [_jsx(PauseCircleIcon, { className: "query-builder__result__stop-btn__label__icon" }), _jsx("div", { className: "query-builder__result__stop-btn__label__title", children: "Stop" })] }) })) : (_jsxs("div", { className: "query-builder__result__execute-btn", children: [_jsxs("button", { className: "query-builder__result__execute-btn__label", onClick: runQuery, tabIndex: -1, title: allValidationIssues.length
|
271
293
|
? `Query is not valid:\n${allValidationIssues
|
272
294
|
.map((issue) => `\u2022 ${issue}`)
|
273
295
|
.join('\n')}`
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB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M,CACZ,4BAA4B,CAAC,uBAAuB,CACrD,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAChB,KAAC,eAAe,IAEd,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,GAAS,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,YAEzC,eAAe,CAAC,MAAM,CAAC,IAJnB,MAAM,CAKK,CACnB,CAAC,GACU,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX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AAe,CAAC,MAAM,CAAC,IAJnB,MAAM,CAKK,CACnB,CAAC,GACU,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExecutionPlanViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"ExecutionPlanViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EAIL,KAAK,kBAAkB,EACxB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EAKd,MAAM,qBAAqB,CAAC;AA4I7B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CA0EA,CAAC;AA4MF,eAAO,MAAM,mBAAmB,WACtB;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE;;CA8EnD,CAAC"}
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { useState } from 'react';
|
18
|
-
import { Dialog, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanel, ResizablePanelSplitterLine, clsx, TreeView, ChevronDownIcon, ChevronRightIcon, MenuContentItem, MenuContent, DropdownMenu, BlankPanelContent, PanelContent, ModalHeader, Modal, ModalBody, ModalFooter, PanelSideBarHeader, ModalFooterButton, } from '@finos/legend-art';
|
18
|
+
import { Dialog, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanel, ResizablePanelSplitterLine, clsx, TreeView, ChevronDownIcon, ChevronRightIcon, MenuContentItem, MenuContent, DropdownMenu, BlankPanelContent, PanelContent, ModalHeader, Modal, ModalBody, ModalFooter, PanelSideBarHeader, ModalFooterButton, PanelHeader, Panel, } from '@finos/legend-art';
|
19
19
|
import { addUniqueEntry, filterByType, isNonNullable, } from '@finos/legend-shared';
|
20
20
|
import { ExecutionNodeTreeNodeData, ExecutionPlanViewTreeNodeData, EXECUTION_PLAN_VIEW_MODE, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
21
21
|
import { observer } from 'mobx-react-lite';
|
@@ -158,7 +158,11 @@ const ExecutionPlanViewPanel = observer((props) => {
|
|
158
158
|
const ExecutionPlanViewerContent = observer((props) => {
|
159
159
|
const { executionPlanState, rawPlan } = props;
|
160
160
|
const plan = executionPlanState.plan;
|
161
|
-
|
161
|
+
const isDarkMode = !executionPlanState.applicationStore.layoutService
|
162
|
+
.TEMPORARY__isLightColorThemeEnabled;
|
163
|
+
return (_jsx("div", { className: "execution-plan-viewer__content", children: plan ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, minSize: 300, children: _jsxs("div", { className: "panel execution-plan-viewer__explorer", children: [_jsx(PanelSideBarHeader, { darkMode: true, title: "execution plan explorer" }), _jsx("div", { className: "panel__content execution-plan-viewer__explorer__content__container", children: _jsx(ExecutionPlanTree, { executionPlanState: executionPlanState, executionPlan: plan }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: isDarkMode
|
164
|
+
? 'var(--color-dark-grey-200)'
|
165
|
+
: 'var(--color-legacylight-light-grey-300)' }) }), _jsx(ResizablePanel, { children: _jsx(ExecutionPlanViewPanel, { displayData: executionPlanState.displayData, executionPlanState: executionPlanState }) })] })) : (_jsx(CodeEditor, { inputValue: JSON.stringify(rawPlan, undefined, DEFAULT_TAB_SIZE), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON })) }));
|
162
166
|
});
|
163
167
|
export const ExecutionPlanViewer = observer((props) => {
|
164
168
|
const { executionPlanState } = props;
|
@@ -170,6 +174,8 @@ export const ExecutionPlanViewer = observer((props) => {
|
|
170
174
|
executionPlanState.setDebugText(undefined);
|
171
175
|
};
|
172
176
|
const rawPlan = executionPlanState.rawPlan;
|
177
|
+
const isDarkMode = !executionPlanState.applicationStore.layoutService
|
178
|
+
.TEMPORARY__isLightColorThemeEnabled;
|
173
179
|
if (!rawPlan) {
|
174
180
|
return null;
|
175
181
|
}
|
@@ -177,6 +183,8 @@ export const ExecutionPlanViewer = observer((props) => {
|
|
177
183
|
root: 'editor-modal__root-container',
|
178
184
|
container: 'editor-modal__container',
|
179
185
|
paper: 'editor-modal__content',
|
180
|
-
}, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Execution Plan" }), _jsx(ModalBody, { children: executionPlanState.debugText ? (_jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 100, children: _jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color:
|
186
|
+
}, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Execution Plan" }), _jsx(ModalBody, { children: executionPlanState.debugText ? (_jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 100, children: _jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: isDarkMode
|
187
|
+
? 'var(--color-dark-grey-200)'
|
188
|
+
: 'var(--color-legacylight-light-grey-300)' }) }), _jsx(ResizablePanel, { size: 200, minSize: 28, children: _jsxs(Panel, { className: "panel execution-plan-viewer__debug-panel", children: [_jsx(PanelHeader, { title: "DEBUG LOG", keepTitleFormat: true, darkMode: isDarkMode }), _jsx(PanelContent, { children: _jsx(CodeEditor, { inputValue: executionPlanState.debugText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }) })] }) })] })) : (_jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closePlanViewer, text: "Close" }) })] }) }));
|
181
189
|
});
|
182
190
|
//# sourceMappingURL=ExecutionPlanViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExecutionPlanViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGL,MAAM,EACN,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EA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AAE,oBAAoB,CAAC,IAAI,GACnC,GACW,IACX,GACS,IACG,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,GAChB,CACH,GACS,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAC,OAAO,GAAG,GAChD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"ExecutionPlanViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGL,MAAM,EACN,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EAC1B,IAAI,EACJ,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,KAAK,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,YAAY,EACZ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,GAEzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,uCAAuC,GAExC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,gBAA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// <reference types="react" resolution-mode="require"/>
|
17
|
-
import type
|
18
|
-
import type
|
17
|
+
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
18
|
+
import { type SQLResultColumn } from '@finos/legend-graph';
|
19
19
|
/**
|
20
20
|
* TODO: Create a new `AbstractPlugin` for this, called `ExecutionPlanViewerPlugin`
|
21
21
|
* when we modularize relational and execution plan processing, etc.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SQLExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"SQLExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAAE,KAAK,eAAe,EAAqB,MAAM,qBAAqB,CAAC;AAS9E;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CA4FC,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -15,8 +15,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
+
import { EXECUTION_PLAN_VIEW_MODE, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
18
19
|
import { format as formatSQL } from 'sql-formatter';
|
19
|
-
import {
|
20
|
+
import { stringifyDataType } from '@finos/legend-graph';
|
21
|
+
import { PanelListItem, CopyIcon, PanelDivider, Button, PanelContent, } from '@finos/legend-art';
|
20
22
|
/**
|
21
23
|
* TODO: Create a new `AbstractPlugin` for this, called `ExecutionPlanViewerPlugin`
|
22
24
|
* when we modularize relational and execution plan processing, etc.
|
@@ -25,7 +27,16 @@ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-edito
|
|
25
27
|
* See https://github.com/finos/legend-studio/issues/65
|
26
28
|
*/
|
27
29
|
export const SQLExecutionNodeViewer = observer((props) => {
|
28
|
-
const { query } = props;
|
29
|
-
|
30
|
+
const { query, resultColumns, executionPlanState } = props;
|
31
|
+
const applicationStore = executionPlanState.applicationStore;
|
32
|
+
const copyExpression = (value) => {
|
33
|
+
applicationStore.clipboardService
|
34
|
+
.copyTextToClipboard(value)
|
35
|
+
.then(() => applicationStore.notificationService.notifySuccess('SQL Query copied', undefined, 2500))
|
36
|
+
.catch(applicationStore.alertUnhandledError);
|
37
|
+
};
|
38
|
+
return (_jsxs(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsxs("div", { className: "query-builder__sql__container", children: [_jsx(PanelDivider, {}), _jsxs("div", { children: [_jsx("div", { className: "query-builder__sql__container__item__label", children: _jsxs(PanelListItem, { children: ["SQL", _jsx("div", { children: _jsx("button", { onClick: () => {
|
39
|
+
copyExpression(query);
|
40
|
+
}, title: "Copy SQL Expression", className: "query-builder__sql__container__icon", children: _jsx(CopyIcon, {}) }) })] }) }), _jsx(PanelListItem, { className: "query-builder__sql__container__item", children: _jsxs("pre", { children: [formatSQL(query), " "] }) }), _jsx(PanelDivider, {})] }, query)] }), _jsx("div", { className: "query-builder__sql__container", children: _jsxs("div", { children: [_jsx(PanelListItem, { className: "query-builder__sql__container__item__label", children: "Result Columns" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__sql__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Label" }), _jsx("th", { className: "table__cell--left", children: "Data Type" })] }) }), _jsx("tbody", { children: resultColumns.map((column) => (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: column.label.replaceAll(`"`, '') }), column.dataType && (_jsx("td", { className: "table__cell--left", children: stringifyDataType(column.dataType) }))] }, column.label))) })] })] }) }), _jsx(PanelDivider, {}), _jsx("div", { className: "query-builder__sql__container", children: _jsx(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }) }), _jsx(PanelDivider, {})] }));
|
30
41
|
});
|
31
42
|
//# sourceMappingURL=SQLExecutionNodeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,wBAAwB,GACzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAwB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,YAAY,GACb,MAAM,mBAAmB,CAAC;AAE3B;;;;;;GA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