@finos/legend-extension-dsl-data-quality 1.0.38 → 1.0.40
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DataQualityDateSelectionPanel.d.ts +22 -0
- package/lib/components/DataQualityDateSelectionPanel.d.ts.map +1 -0
- package/lib/components/DataQualityDateSelectionPanel.js +47 -0
- package/lib/components/DataQualityDateSelectionPanel.js.map +1 -0
- package/lib/components/DataQualityResultPanel.d.ts.map +1 -1
- package/lib/components/DataQualityResultPanel.js +11 -3
- package/lib/components/DataQualityResultPanel.js.map +1 -1
- package/lib/components/states/DataQualityResultState.d.ts.map +1 -1
- package/lib/components/states/DataQualityResultState.js +1 -1
- package/lib/components/states/DataQualityResultState.js.map +1 -1
- package/lib/components/states/DataQualityState.d.ts +10 -1
- package/lib/components/states/DataQualityState.d.ts.map +1 -1
- package/lib/components/states/DataQualityState.js +57 -2
- package/lib/components/states/DataQualityState.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts +2 -2
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts +4 -3
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js +11 -8
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +4 -4
- package/package.json +14 -14
- package/src/components/DataQualityDateSelectionPanel.tsx +133 -0
- package/src/components/DataQualityResultPanel.tsx +45 -1
- package/src/components/states/DataQualityResultState.ts +6 -1
- package/src/components/states/DataQualityState.ts +86 -5
- package/src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts +2 -0
- package/src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts +16 -0
- package/style/index.scss +102 -0
- package/tsconfig.json +1 -0
@@ -0,0 +1,22 @@
|
|
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
|
+
import type { DataQualityState } from './states/DataQualityState.js';
|
17
|
+
export declare const DataQualityDateSelectionPanel: ((props: {
|
18
|
+
dataQualityState: DataQualityState;
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
+
displayName: string;
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=DataQualityDateSelectionPanel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DataQualityDateSelectionPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityDateSelectionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAQrE,eAAO,MAAM,6BAA6B,WAChC;IAAE,gBAAgB,EAAE,gBAAgB,CAAA;CAAE;;CAkG/C,CAAC"}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelFormSection, } from '@finos/legend-art';
|
18
|
+
import { observer } from 'mobx-react-lite';
|
19
|
+
import { MILESTONING_STEREOTYPE, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, PROCESSING_DATE_MILESTONING_PROPERTY_NAME, } from '@finos/legend-graph';
|
20
|
+
export const DataQualityDateSelectionPanel = observer((props) => {
|
21
|
+
const { dataQualityState } = props;
|
22
|
+
const { applicationStore, showDateSelection } = dataQualityState;
|
23
|
+
const currentClassMilestoningStrategy = dataQualityState.currentClassMilestoningStrategy;
|
24
|
+
const showProcessingDate = currentClassMilestoningStrategy ===
|
25
|
+
MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL ||
|
26
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL;
|
27
|
+
const showBusinessDate = currentClassMilestoningStrategy ===
|
28
|
+
MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL ||
|
29
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL;
|
30
|
+
const updateAbsoluteDateValue = (event) => {
|
31
|
+
if (event.target.name === PROCESSING_DATE_MILESTONING_PROPERTY_NAME) {
|
32
|
+
dataQualityState.setProcessingDate(event.target.value);
|
33
|
+
}
|
34
|
+
if (event.target.name === BUSINESS_DATE_MILESTONING_PROPERTY_NAME) {
|
35
|
+
dataQualityState.setBusinessDate(event.target.value);
|
36
|
+
}
|
37
|
+
};
|
38
|
+
const closePlanViewer = () => {
|
39
|
+
dataQualityState.setShowDateSelection(false);
|
40
|
+
};
|
41
|
+
return (_jsx(Dialog, { open: showDateSelection, classes: {
|
42
|
+
root: 'validation-date-selection-modal__root-container',
|
43
|
+
container: 'validation-date-selection-modal__container',
|
44
|
+
paper: 'validation-date-selection-modal__content',
|
45
|
+
}, children: _jsxs(Modal, { className: "validation-date-selection-modal", darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsx(ModalHeader, { title: "Validation Options" }), _jsxs(ModalBody, { className: "validation-date-selection-modal__body", children: [showProcessingDate && (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose a value for this milestoning parameter" }), _jsx("div", { className: "validation-date-selection-modal__absolute-date", children: _jsx("input", { className: "panel__content__form__section__input validation-date-selection-modal__absolute-date__input input--dark", type: "date", spellCheck: false, value: dataQualityState.processingDate, name: PROCESSING_DATE_MILESTONING_PROPERTY_NAME, onChange: updateAbsoluteDateValue }) })] })), showBusinessDate && (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose a value for this milestoning parameter" }), _jsx("div", { className: "validation-date-selection-modal__absolute-date", children: _jsx("input", { className: "panel__content__form__section__input validation-date-selection-modal__absolute-date__input input--dark", type: "date", spellCheck: false, value: dataQualityState.businessDate, name: BUSINESS_DATE_MILESTONING_PROPERTY_NAME, onChange: updateAbsoluteDateValue }) })] }))] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closePlanViewer, text: "Close", type: "secondary" }) })] }) }));
|
46
|
+
});
|
47
|
+
//# sourceMappingURL=DataQualityDateSelectionPanel.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DataQualityDateSelectionPanel.js","sourceRoot":"","sources":["../../src/components/DataQualityDateSelectionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,uCAAuC,EACvC,yCAAyC,GAC1C,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,6BAA6B,GAAG,QAAQ,CACnD,CAAC,KAA6C,EAAE,EAAE;IAChD,MAAM,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,gBAAgB,CAAC;IACjE,MAAM,+BAA+B,GACnC,gBAAgB,CAAC,+BAA+B,CAAC;IACnD,MAAM,kBAAkB,GACtB,+BAA+B;QAC7B,sBAAsB,CAAC,mBAAmB;QAC5C,+BAA+B,KAAK,sBAAsB,CAAC,UAAU,CAAC;IACxE,MAAM,gBAAgB,GACpB,+BAA+B;QAC7B,sBAAsB,CAAC,iBAAiB;QAC1C,+BAA+B,KAAK,sBAAsB,CAAC,UAAU,CAAC;IAExE,MAAM,uBAAuB,GAEzB,CAAC,KAAK,EAAE,EAAE;QACZ,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,yCAAyC,EAAE,CAAC;YACpE,gBAAgB,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzD,CAAC;QACD,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,uCAAuC,EAAE,CAAC;YAClE,gBAAgB,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvD,C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O,EAAE,eAAe,EACxB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"DataQualityResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAkDrE,eAAO,MAAM,sBAAsB,WACzB;IAAE,gBAAgB,EAAE,gBAAgB,CAAA;CAAE;;CAsT/C,CAAC"}
|
@@ -18,13 +18,14 @@ import { observer } from 'mobx-react-lite';
|
|
18
18
|
import { useApplicationStore } from '@finos/legend-application';
|
19
19
|
import { flowResult } from 'mobx';
|
20
20
|
import { buildFilterConditionExpression, ExecutionPlanViewer, } from '@finos/legend-query-builder';
|
21
|
-
import { buildRawLambdaFromLambdaFunction, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, Multiplicity, PackageableElementExplicitReference, VariableExpression, } from '@finos/legend-graph';
|
21
|
+
import { MILESTONING_STEREOTYPE, buildRawLambdaFromLambdaFunction, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, Multiplicity, PackageableElementExplicitReference, VariableExpression, } from '@finos/legend-graph';
|
22
22
|
import { guaranteeNonNullable, isNonNullable, prettyDuration, } from '@finos/legend-shared';
|
23
23
|
import { useRef, useState } from 'react';
|
24
24
|
import { DATA_QUALITY_VALIDATION_TEST_ID } from './constants/DataQualityConstants.js';
|
25
25
|
import { BlankPanelContent, CubesLoadingIndicator, CubesLoadingIndicatorIcon, MenuContent, MenuContentItem, PanelContent, ExclamationTriangleIcon, DebugIcon, CaretDownIcon, MenuContentItemIcon, MenuContentItemLabel, PauseCircleIcon, PlayIcon, ReportIcon, ControlledDropdownMenu, } from '@finos/legend-art';
|
26
26
|
import { DataQualityResultValues } from './DataQualityResultValues.js';
|
27
27
|
import { dataQualityClassValidation_setFilter } from '../graph-manager/DSL_DataQuality_GraphModifierHelper.js';
|
28
|
+
import { DataQualityDateSelectionPanel } from './DataQualityDateSelectionPanel.js';
|
28
29
|
export const DataQualityResultPanel = observer((props) => {
|
29
30
|
const { dataQualityState } = props;
|
30
31
|
const applicationStore = useApplicationStore();
|
@@ -102,9 +103,16 @@ export const DataQualityResultPanel = observer((props) => {
|
|
102
103
|
}
|
103
104
|
};
|
104
105
|
const isLoading = resultState.isRunningQuery || resultState.isGeneratingPlan;
|
105
|
-
|
106
|
+
const currentClassMilestoningStrategy = dataQualityState.currentClassMilestoningStrategy;
|
107
|
+
const showProcessingDate = currentClassMilestoningStrategy ===
|
108
|
+
MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL ||
|
109
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL;
|
110
|
+
const showBusinessDate = currentClassMilestoningStrategy ===
|
111
|
+
MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL ||
|
112
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL;
|
113
|
+
return (_jsxs("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_PANEL, className: "panel data-quality-validation__result", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "results" }), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Validation..." })), _jsx("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_ANALYTICS, className: "data-quality-validation__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "data-quality-validation__result__stale-status", children: [_jsx("div", { className: "data-quality-validation__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "data-quality-validation__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions data-quality-validation__result__header__actions", children: [showProcessingDate && (_jsxs("div", { className: "trial-runs-result-modifier-prompt__group", children: [_jsx("div", { className: "trial-runs-result-modifier-prompt__group__label", children: "Processing Date" }), _jsx("button", { className: "trial-runs-result-modifier-prompt__header__label editable-value", onClick: () => dataQualityState.setShowDateSelection(true), children: _jsx("div", { className: "trial-runs-result-modifier-prompt__header__label__title", children: dataQualityState.processingDate }) })] })), showBusinessDate && (_jsxs("div", { className: "trial-runs-result-modifier-prompt__group", children: [_jsx("div", { className: "trial-runs-result-modifier-prompt__group__label", children: "Business Date" }), _jsx("button", { className: "trial-runs-result-modifier-prompt__header__label editable-value", onClick: () => dataQualityState.setShowDateSelection(true), children: _jsx("div", { className: "trial-runs-result-modifier-prompt__header__label__title", children: dataQualityState.businessDate }) })] })), allowSettingPreviewLimit && (_jsxs("div", { className: "data-quality-validation__result__limit", children: [_jsx("div", { className: "data-quality-validation__result__limit__label", children: "preview row limit" }), _jsx("input", { ref: inputRef, className: "input--dark data-quality-validation__result__limit__input", spellCheck: false, type: "number", value: previewLimitValue, onChange: changePreviewLimit, onBlur: getPreviewLimit, onKeyDown: onKeyDown })] })), _jsx("div", { className: "data-quality-validation__result__execute-btn btn__dropdown-combo btn__dropdown-combo--primary", children: resultState.isRunningQuery ? (_jsx("button", { className: "btn__dropdown-combo__canceler data-quality-validation__result__execute-btn__btn", onClick: cancelQuery, tabIndex: -1, children: _jsxs("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label data-quality-validation__result__execute-btn__btn", children: [_jsx(PauseCircleIcon, {}), "Stop"] }) })) : (_jsxs(_Fragment, { children: [_jsxs("button", { className: "btn__dropdown-combo__label data-quality-validation__result__execute-btn__validation data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", onClick: runQuery, tabIndex: -1, disabled: isRunQueryDisabled, children: [_jsx(PlayIcon, {}), "Run Validation"] }), _jsx(ControlledDropdownMenu, { className: "btn__dropdown-combo__dropdown-btn data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", disabled: isRunQueryDisabled, content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(ReportIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Generate Plan" })] }), _jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(DebugIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Debug" })] })] }), menuProps: {
|
106
114
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
107
115
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
108
|
-
}, children: _jsx(CaretDownIcon, {}) })] })) })] })] }), _jsxs(PanelContent, { className: "data-quality-validation__result__content", children: [_jsx(CubesLoadingIndicator, { isLoading: isLoading, children: _jsx(CubesLoadingIndicatorIcon, {}) }), !executionResult && !isLoading && (_jsx(BlankPanelContent, { children: "Click on run validation to see the constraints validation results" })), executionResult && !isLoading && (_jsx("div", { className: "data-quality-validation__result__values", children: _jsx(DataQualityResultValues, { executionResult: executionResult, dataQualityState: dataQualityState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState })] }));
|
116
|
+
}, children: _jsx(CaretDownIcon, {}) })] })) })] })] }), _jsxs(PanelContent, { className: "data-quality-validation__result__content", children: [_jsx(CubesLoadingIndicator, { isLoading: isLoading, children: _jsx(CubesLoadingIndicatorIcon, {}) }), !executionResult && !isLoading && (_jsx(BlankPanelContent, { children: "Click on run validation to see the constraints validation results" })), executionResult && !isLoading && (_jsx("div", { className: "data-quality-validation__result__values", children: _jsx(DataQualityResultValues, { executionResult: executionResult, dataQualityState: dataQualityState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState }), _jsx(DataQualityDateSelectionPanel, { dataQualityState: dataQualityState })] }));
|
109
117
|
});
|
110
118
|
//# sourceMappingURL=DataQualityResultPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityResultPanel.js","sourceRoot":"","sources":["../../src/components/DataQualityResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,YAAY,EACZ,mCAAmC,EACnC,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,oCAAoC,EAAE,MAAM,yDAAyD,CAAC;
|
1
|
+
{"version":3,"file":"DataQualityResultPanel.js","sourceRoot":"","sources":["../../src/components/DataQualityResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,sBAAsB,EACtB,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,YAAY,EACZ,mCAAmC,EACnC,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,oCAAoC,EAAE,MAAM,yDAAyD,CAAC;AAE/G,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,MA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OAAO,CAKlC;IAEA,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IA8C7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAsDjD"}
|
@@ -81,7 +81,7 @@ export class DataQualityResultState {
|
|
81
81
|
const packagePath = this.dataQualityState.constraintsConfigurationElement.path;
|
82
82
|
const model = this.dataQualityState.graphManagerState.graph;
|
83
83
|
const stopWatch = new StopWatch();
|
84
|
-
promise = getDataQualityPureGraphManagerExtension(this.dataQualityState.graphManagerState.graphManager).execute(model, packagePath, this.previewLimit);
|
84
|
+
promise = getDataQualityPureGraphManagerExtension(this.dataQualityState.graphManagerState.graphManager).execute(model, this.dataQualityState.lambdaParameterValues, packagePath, this.previewLimit);
|
85
85
|
this.setQueryRunPromise(promise);
|
86
86
|
const result = (yield promise);
|
87
87
|
if (this.queryRunPromise === promise) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityResultState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,gFAAgF,CAAC;AAEzI,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAClC,MAAM,OAAO,sBAAsB;IACxB,gBAAgB,CAAmB;IACnC,kBAAkB,CAAqB;IAEhD,YAAY,GA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AG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACvC,CAAC;IAED,kBAAkB,CAAC,OAA6C;QAC9D,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC;IACjC,CAAC;IAED,IAAI,oBAAoB;QACtB,IAAI,IAAI,CAAC,iBAAiB,KAAK,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;YAC9D,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,CAAC,QAAQ;QACP,IAAI,OAAO,CAAC;QACZ,IAAI,CAAC;YACH,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC7B,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC;YACvD,MAAM,WAAW,GACf,IAAI,CAAC,gBAAgB,CAAC,+BAA+B,CAAC,IAAI,CAAC;YAC7D,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,KAAK,CAAC;YAE5D,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;YAElC,OAAO,GAAG,uCAAuC,CAC/C,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,YAAY,CACrD,CAAC,OAAO,
|
1
|
+
{"version":3,"file":"DataQualityResultState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uCAA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AkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YAC3C,CAAC;YAAC,MAAM,CAAC;gBACP,YAAY;YACd,CAAC;YACD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;QACtE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACrD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACpE,KAAK,CACN,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAChC,CAAC;IACH,CAAC;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type
|
16
|
+
import { type Class, type GraphFetchTree, type GraphManagerState, type PackageableElement, type RawLambda, type Runtime, MILESTONING_STEREOTYPE, ParameterValue } from '@finos/legend-graph';
|
17
17
|
import { type EditorExtensionState, type EditorStore, ElementEditorState } from '@finos/legend-application-studio';
|
18
18
|
import type { DataSpaceExecutionContext } from '@finos/legend-extension-dsl-data-space/graph';
|
19
19
|
import { DataQualityGraphFetchTreeState } from './DataQualityGraphFetchTreeState.js';
|
@@ -43,10 +43,19 @@ export declare abstract class DataQualityState extends ElementEditorState {
|
|
43
43
|
dataQualityQueryBuilderState: DataQualityQueryBuilderState;
|
44
44
|
resultState: DataQualityResultState;
|
45
45
|
showStructuralValidations: boolean;
|
46
|
+
showDateSelection: boolean;
|
47
|
+
processingDate: string;
|
48
|
+
businessDate: string;
|
46
49
|
constructor(editorStore: EditorStore, element: PackageableElement);
|
47
50
|
abstract get constraintsConfigurationElement(): PackageableElement;
|
48
51
|
setShowStructuralValidations(val: boolean): void;
|
52
|
+
setShowDateSelection(val: boolean): void;
|
53
|
+
setProcessingDate(val: string): void;
|
54
|
+
setBusinessDate(val: string): void;
|
49
55
|
get tabsToShow(): string[];
|
56
|
+
get currentClassMilestoningStrategy(): MILESTONING_STEREOTYPE | undefined;
|
57
|
+
get isCurrentClassMilestoned(): boolean;
|
58
|
+
get lambdaParameterValues(): ParameterValue[];
|
50
59
|
fetchStructuralValidations(): GeneratorFn<void>;
|
51
60
|
initializeFilterState(filterLambda: RawLambda | undefined): void;
|
52
61
|
initializeGraphFetchTreeState(tree: DataQualityRootGraphFetchTree | undefined): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,
|
1
|
+
{"version":3,"file":"DataQualityState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,KAAK,OAAO,EAQZ,sBAAsB,EAItB,cAAc,EAOf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,kBAAkB,EACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,0FAA0F,CAAC;AAKlG,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAMZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,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mobx';
|
17
|
-
import {
|
17
|
+
import { CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, getMilestoneTemporalStereotype, LambdaFunction, LambdaFunctionInstanceValue, MILESTONING_STEREOTYPE, Multiplicity, observe_ValueSpecification, PackageableElementExplicitReference, ParameterValue, PRIMITIVE_TYPE, buildRawLambdaFromLambdaFunction, VariableExpression, PROCESSING_DATE_MILESTONING_PROPERTY_NAME, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, V1_RawValueSpecificationType, } from '@finos/legend-graph';
|
18
18
|
import { ElementEditorState, } from '@finos/legend-application-studio';
|
19
19
|
import { DataQualityGraphFetchTreeState } from './DataQualityGraphFetchTreeState.js';
|
20
20
|
import { DataQualityPropertyGraphFetchTree, } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
@@ -23,7 +23,7 @@ import { ActionState, guaranteeNonNullable, guaranteeType, hashArray, isNonNulla
|
|
23
23
|
import {} from '@finos/legend-application';
|
24
24
|
import { DataQualityResultState } from './DataQualityResultState.js';
|
25
25
|
import { DATA_QUALITY_HASH_STRUCTURE } from '../../graph/metamodel/DSL_DataQuality_HashUtils.js';
|
26
|
-
import { buildFilterConditionExpression, processFilterLambda, QueryBuilderAdvancedWorkflowState, } from '@finos/legend-query-builder';
|
26
|
+
import { buildFilterConditionExpression, generateDefaultValueForPrimitiveType, processFilterLambda, QueryBuilderAdvancedWorkflowState, } from '@finos/legend-query-builder';
|
27
27
|
import { DataQualityQueryBuilderState } from './DataQualityQueryBuilderState.js';
|
28
28
|
import { getDataQualityPureGraphManagerExtension } from '../../graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js';
|
29
29
|
import { dataQualityClassValidation_setDataQualityGraphFetchTree, dataQualityClassValidation_setFilter, } from '../../graph-manager/DSL_DataQuality_GraphModifierHelper.js';
|
@@ -61,6 +61,9 @@ export class DataQualityState extends ElementEditorState {
|
|
61
61
|
dataQualityQueryBuilderState;
|
62
62
|
resultState;
|
63
63
|
showStructuralValidations = false;
|
64
|
+
showDateSelection = false;
|
65
|
+
processingDate = generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE);
|
66
|
+
businessDate = generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE);
|
64
67
|
constructor(editorStore, element) {
|
65
68
|
super(editorStore, element);
|
66
69
|
makeObservable(this, {
|
@@ -70,6 +73,9 @@ export class DataQualityState extends ElementEditorState {
|
|
70
73
|
structuralValidationsGraphFetchTreeState: observable,
|
71
74
|
dataQualityQueryBuilderState: observable,
|
72
75
|
showStructuralValidations: observable,
|
76
|
+
showDateSelection: observable,
|
77
|
+
processingDate: observable,
|
78
|
+
businessDate: observable,
|
73
79
|
constraintsConfigurationElement: computed,
|
74
80
|
setSelectedTab: action,
|
75
81
|
setExecutionContext: action,
|
@@ -77,9 +83,12 @@ export class DataQualityState extends ElementEditorState {
|
|
77
83
|
initializeGraphFetchTreeState: action,
|
78
84
|
initializeStructuralValidationsGraphFetchTreeState: action,
|
79
85
|
setShowStructuralValidations: action,
|
86
|
+
setShowDateSelection: action,
|
80
87
|
updateElementOnClassChange: action,
|
81
88
|
checkConstraintsSelectedAtNode: action,
|
82
89
|
changeClass: action,
|
90
|
+
setProcessingDate: action,
|
91
|
+
setBusinessDate: action,
|
83
92
|
fetchStructuralValidations: flow,
|
84
93
|
tabsToShow: computed,
|
85
94
|
areNestedConstraintsSelected: computed,
|
@@ -98,6 +107,15 @@ export class DataQualityState extends ElementEditorState {
|
|
98
107
|
setShowStructuralValidations(val) {
|
99
108
|
this.showStructuralValidations = val;
|
100
109
|
}
|
110
|
+
setShowDateSelection(val) {
|
111
|
+
this.showDateSelection = val;
|
112
|
+
}
|
113
|
+
setProcessingDate(val) {
|
114
|
+
this.processingDate = val;
|
115
|
+
}
|
116
|
+
setBusinessDate(val) {
|
117
|
+
this.businessDate = val;
|
118
|
+
}
|
101
119
|
get tabsToShow() {
|
102
120
|
const tabs = Object.values(DATA_QUALITY_TAB);
|
103
121
|
const extensionTabGetters = this.editorStore.pluginManager
|
@@ -108,6 +126,43 @@ export class DataQualityState extends ElementEditorState {
|
|
108
126
|
}
|
109
127
|
return tabs;
|
110
128
|
}
|
129
|
+
get currentClassMilestoningStrategy() {
|
130
|
+
const currentclass = this.dataQualityQueryBuilderState.class;
|
131
|
+
if (currentclass !== undefined) {
|
132
|
+
return getMilestoneTemporalStereotype(currentclass, this.graphManagerState.graph);
|
133
|
+
}
|
134
|
+
return undefined;
|
135
|
+
}
|
136
|
+
get isCurrentClassMilestoned() {
|
137
|
+
return this.currentClassMilestoningStrategy !== undefined;
|
138
|
+
}
|
139
|
+
get lambdaParameterValues() {
|
140
|
+
const parameters = [];
|
141
|
+
const currentClassMilestoningStrategy = this.currentClassMilestoningStrategy;
|
142
|
+
if (currentClassMilestoningStrategy ===
|
143
|
+
MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL ||
|
144
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL) {
|
145
|
+
const parameterValue = new ParameterValue();
|
146
|
+
parameterValue.name = PROCESSING_DATE_MILESTONING_PROPERTY_NAME;
|
147
|
+
parameterValue.value = {
|
148
|
+
_type: V1_RawValueSpecificationType.CSTRICTDATE,
|
149
|
+
value: this.processingDate,
|
150
|
+
};
|
151
|
+
parameters.push(parameterValue);
|
152
|
+
}
|
153
|
+
if (currentClassMilestoningStrategy ===
|
154
|
+
MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL ||
|
155
|
+
currentClassMilestoningStrategy === MILESTONING_STEREOTYPE.BITEMPORAL) {
|
156
|
+
const parameterValue = new ParameterValue();
|
157
|
+
parameterValue.name = BUSINESS_DATE_MILESTONING_PROPERTY_NAME;
|
158
|
+
parameterValue.value = {
|
159
|
+
_type: V1_RawValueSpecificationType.CSTRICTDATE,
|
160
|
+
value: this.businessDate,
|
161
|
+
};
|
162
|
+
parameters.push(parameterValue);
|
163
|
+
}
|
164
|
+
return parameters;
|
165
|
+
}
|
111
166
|
*fetchStructuralValidations() {
|
112
167
|
const packagePath = this.constraintsConfigurationElement.path;
|
113
168
|
const model = this.graphManagerState.graph;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,
|
1
|
+
{"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sBAAsB,EACtB,YAAY,EACZ,0BAA0B,EAC1B,mCAAmC,EACnC,cAAc,EACd,cAAc,EACd,gCAAgC,EAChC,kBAAkB,EAClB,yCAAyC,EACzC,uCAAuC,EACvC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAEL,iCAAiC,GAClC,MAAM,0FAA0F,CAAC;AAClG,OAAO,EACL,yCAAyC,EACzC,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC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C,WAAW;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -13,10 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type RawExecutionPlan, type ExecutionResult, type PureModel, type RootGraphFetchTree, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
16
|
+
import { type AbstractPureGraphManager, type RawExecutionPlan, type ExecutionResult, type PureModel, type RootGraphFetchTree, type ParameterValue, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
17
17
|
export declare abstract class DSL_DataQuality_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
18
18
|
abstract generatePlan(graph: PureModel, packagePath: string): Promise<RawExecutionPlan>;
|
19
|
-
abstract execute(graph: PureModel, packagePath: string, previewLimit: number): Promise<ExecutionResult>;
|
19
|
+
abstract execute(graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, previewLimit: number): Promise<ExecutionResult>;
|
20
20
|
abstract debugExecutionPlanGeneration(graph: PureModel, packagePath: string): Promise<{
|
21
21
|
plan: RawExecutionPlan;
|
22
22
|
debug: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,8BAAsB,yCAA0C,SAAQ,iCAAiC;IACvG,QAAQ,CAAC,YAAY,CACnB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,CAAC;IAE5B,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,eAAe,CAAC;IAE3B,QAAQ,CAAC,4BAA4B,CACnC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAErD,QAAQ,CAAC,0BAA0B,CACjC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,yCAOA,CAAC"}
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,8BAAsB,yCAA0C,SAAQ,iCAAiC;IACvG,QAAQ,CAAC,YAAY,CACnB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,CAAC;IAE5B,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,SAAS,EAChB,qBAAqB,EAAE,cAAc,EAAE,EACvC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,eAAe,CAAC;IAE3B,QAAQ,CAAC,4BAA4B,CACnC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAErD,QAAQ,CAAC,0BAA0B,CACjC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,yCAOA,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAgB,yCAA0C,SAAQ,iCAAiC;CAsBxG;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACK,EAAE,CAC7C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,yCAAyC,CACjE,EACD,sDAAsD,CACvD,CAAC"}
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts
CHANGED
@@ -13,12 +13,13 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type ExecutionResult, type PureModel, type RawExecutionPlan, type RootGraphFetchTree, type V1_PureModelContext, PureClientVersion, V1_PureGraphManager } from '@finos/legend-graph';
|
16
|
+
import { type AbstractPureGraphManager, type ExecutionResult, type PureModel, type RawExecutionPlan, type RootGraphFetchTree, type V1_PureModelContext, type ParameterValue, type V1_ParameterValue, PureClientVersion, V1_PureGraphManager } from '@finos/legend-graph';
|
17
17
|
import { SerializationFactory } from '@finos/legend-shared';
|
18
18
|
import { DSL_DataQuality_PureGraphManagerExtension } from '../DSL_DataQuality_PureGraphManagerExtension.js';
|
19
19
|
export declare class V1_DQExecuteInput {
|
20
20
|
clientVersion: string | undefined;
|
21
21
|
model: V1_PureModelContext;
|
22
|
+
lambdaParameterValues: V1_ParameterValue[];
|
22
23
|
packagePath: string;
|
23
24
|
queryLimit: number | undefined;
|
24
25
|
static readonly serialization: SerializationFactory<V1_DQExecuteInput>;
|
@@ -31,9 +32,9 @@ export declare class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_D
|
|
31
32
|
private buildPureModelSDLCPointer;
|
32
33
|
private executeValidation;
|
33
34
|
private runValidationAndReturnString;
|
34
|
-
createExecutionInput(graph: PureModel, packagePath: string, clientVersion: string | undefined, previewLimit: number | undefined, dqExecuteInput: V1_DQExecuteInput): V1_DQExecuteInput;
|
35
|
+
createExecutionInput(graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, clientVersion: string | undefined, previewLimit: number | undefined, dqExecuteInput: V1_DQExecuteInput): V1_DQExecuteInput;
|
35
36
|
generatePlan: (graph: PureModel, packagePath: string) => Promise<RawExecutionPlan>;
|
36
|
-
execute: (graph: PureModel, packagePath: string, previewLimit: number) => Promise<ExecutionResult>;
|
37
|
+
execute: (graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, previewLimit: number) => Promise<ExecutionResult>;
|
37
38
|
debugExecutionPlanGeneration: (graph: PureModel, packagePath: string) => Promise<{
|
38
39
|
plan: RawExecutionPlan;
|
39
40
|
debug: string;
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EAEpB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,
|
1
|
+
{"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EAEpB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAExB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEtB,iBAAiB,EAQjB,mBAAmB,EAMpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAY5G,qBAAa,iBAAiB;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,EAAG,mBAAmB,CAAC;IAC5B,qBAAqB,EAAE,iBAAiB,EAAE,CAAM;IAChD,WAAW,EAAG,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,MAAM,CAAC,QAAQ,CAAC,aAAa,0CAQ3B;CACH;AAED,qBAAa,6CAA8C,SAAQ,yCAAyC;IAClG,YAAY,EAAE,mBAAmB,CAAC;IAC1C,MAAM,CAAC,QAAQ,CAAC,oBAAoB,4BAA4B;gBAEpD,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAIrC,OAAO,CAAC,yBAAyB;IAkBjC,OAAO,CAAC,iBAAiB,CAmBvB;YAEY,4BAA4B;IAa1C,oBAAoB,CAClB,KAAK,EAAE,SAAS,EAChB,qBAAqB,EAAE,cAAc,EAAE,EACvC,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,cAAc,EAAE,iBAAiB,GAChC,iBAAiB;IAapB,YAAY,UACH,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,gBAAgB,CAAC,CAuB1B;IAEF,OAAO,UACE,SAAS,yBACO,cAAc,EAAE,eAC1B,MAAM,gBACL,MAAM,KACnB,OAAO,CAAC,eAAe,CAAC,CAkCzB;IAEF,4BAA4B,UACnB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CA2BnD;IAEF,0BAA0B,UACjB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,kBAAkB,CAAC,CAyC5B;CACH"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { LegendSDLC, PureClientVersion, V1_buildExecutionError, V1_buildExecutionResult, V1_ExecutionError, V1_GraphBuilderContextBuilder, V1_LegendSDLC, V1_ProcessingContext, V1_Protocol, V1_PureGraphManager, V1_PureModelContextPointer, V1_pureModelContextPropSchema, V1_serializeExecutionResult, } from '@finos/legend-graph';
|
16
|
+
import { LegendSDLC, PureClientVersion, V1_buildExecutionError, V1_buildExecutionResult, V1_ExecutionError, V1_GraphBuilderContextBuilder, V1_LegendSDLC, V1_ProcessingContext, V1_Protocol, V1_PureGraphManager, V1_PureModelContextPointer, V1_pureModelContextPropSchema, V1_serializeExecutionResult, V1_parameterValueModelSchema, V1_transformParameterValue, } from '@finos/legend-graph';
|
17
17
|
import { createModelSchema, optional, primitive } from 'serializr';
|
18
|
-
import { assertErrorThrown, guaranteeType, NetworkClientError, returnUndefOnError, SerializationFactory, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
|
+
import { assertErrorThrown, guaranteeType, NetworkClientError, returnUndefOnError, SerializationFactory, UnsupportedOperationError, customListWithSchema, } from '@finos/legend-shared';
|
19
19
|
import { DSL_DataQuality_PureGraphManagerExtension } from '../DSL_DataQuality_PureGraphManagerExtension.js';
|
20
20
|
import { V1_buildDataQualityGraphFetchTree, V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree, } from './transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js';
|
21
21
|
const DQ_GENERATE_EXECUTION_PLAN = 'generate execution plan';
|
@@ -25,11 +25,13 @@ const DQ_FETCH_PROPERTY_PATH_TREE = 'dq fetch property path tree';
|
|
25
25
|
export class V1_DQExecuteInput {
|
26
26
|
clientVersion;
|
27
27
|
model;
|
28
|
+
lambdaParameterValues = [];
|
28
29
|
packagePath;
|
29
30
|
queryLimit;
|
30
31
|
static serialization = new SerializationFactory(createModelSchema(V1_DQExecuteInput, {
|
31
32
|
clientVersion: optional(primitive()),
|
32
33
|
model: V1_pureModelContextPropSchema,
|
34
|
+
lambdaParameterValues: customListWithSchema(V1_parameterValueModelSchema),
|
33
35
|
packagePath: primitive(),
|
34
36
|
queryLimit: optional(primitive()),
|
35
37
|
}));
|
@@ -62,23 +64,24 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
|
|
62
64
|
returnAsResponse: true,
|
63
65
|
})).text();
|
64
66
|
}
|
65
|
-
createExecutionInput(graph, packagePath, clientVersion, previewLimit, dqExecuteInput) {
|
67
|
+
createExecutionInput(graph, lambdaParameterValues, packagePath, clientVersion, previewLimit, dqExecuteInput) {
|
66
68
|
dqExecuteInput.clientVersion = clientVersion;
|
67
69
|
dqExecuteInput.model = graph.origin
|
68
70
|
? this.buildPureModelSDLCPointer(graph.origin, undefined)
|
69
71
|
: this.graphManager.getFullGraphModelData(graph);
|
72
|
+
dqExecuteInput.lambdaParameterValues = lambdaParameterValues.map(V1_transformParameterValue);
|
70
73
|
dqExecuteInput.packagePath = packagePath;
|
71
74
|
dqExecuteInput.queryLimit = previewLimit;
|
72
75
|
return dqExecuteInput;
|
73
76
|
}
|
74
77
|
generatePlan = async (graph, packagePath) => {
|
75
|
-
const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
78
|
+
const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
76
79
|
const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
|
77
80
|
const engineServerClient = this.graphManager.engine.getEngineServerClient();
|
78
81
|
return engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_GENERATE_EXECUTION_PLAN), `${engineServerClient._pure()}/dataquality/generatePlan`, serializedInput, {}, undefined, undefined, { enableCompression: true });
|
79
82
|
};
|
80
|
-
execute = async (graph, packagePath, previewLimit) => {
|
81
|
-
const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, previewLimit, new V1_DQExecuteInput());
|
83
|
+
execute = async (graph, lambdaParameterValues, packagePath, previewLimit) => {
|
84
|
+
const input = this.createExecutionInput(graph, lambdaParameterValues, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, previewLimit, new V1_DQExecuteInput());
|
82
85
|
try {
|
83
86
|
const validationResultInText = await this.runValidationAndReturnString(input);
|
84
87
|
const rawExecutionResult = returnUndefOnError(() => this.graphManager.engine.parseExecutionResults(validationResultInText, undefined)) ?? validationResultInText;
|
@@ -94,7 +97,7 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
|
|
94
97
|
}
|
95
98
|
};
|
96
99
|
debugExecutionPlanGeneration = async (graph, packagePath) => {
|
97
|
-
const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
100
|
+
const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
98
101
|
const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
|
99
102
|
const engineServerClient = this.graphManager.engine.getEngineServerClient();
|
100
103
|
const result = await engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_DEBUG_EXECUTION_PLAN), `${engineServerClient._pure()}/dataquality/debugPlan`, serializedInput, {}, undefined, undefined, { enableCompression: true });
|
@@ -105,7 +108,7 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
|
|
105
108
|
};
|
106
109
|
fetchStructuralValidations = async (graph, packagePath) => {
|
107
110
|
const engineServerClient = this.graphManager.engine.getEngineServerClient();
|
108
|
-
const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
111
|
+
const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
|
109
112
|
const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
|
110
113
|
const V1_rootGraphFetchTree = await engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_FETCH_PROPERTY_PATH_TREE), `${engineServerClient._pure()}/dataquality/propertyPathTree`, serializedInput, {}, undefined, undefined, { enableCompression: true });
|
111
114
|
const V1_dataQualityRootGraphFetchTree = V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree(V1_rootGraphFetchTree);
|