How to use the datax-query.QueryActions.updateErrorMessage function in datax-query

To help you get started, we’ve selected a few datax-query examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / flowDefinitionPanel.jsx View on Github external
getKernel() {
        if (
            this.props.input.properties.inputSchemaFile !== Models.defaultInput.properties.inputSchemaFile &&
            this.props.input.properties.inputSchemaFile !== '{}'
        ) {
            const version = this.props.kernelVersion + 1;
            this.props.onUpdateKernelVersion(version);
            this.props.onGetKernel(
                Helpers.convertFlowToQueryMetadata(this.props.flow, this.props.query),
                version,
                QueryActions.updateErrorMessage
            );
        }
    }
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / flowDefinitionPanel.jsx View on Github external
refreshKernel(kernelId) {
        const version = this.props.kernelVersion + 1;
        this.props.onUpdateKernelVersion(version);
        this.props.onRefreshKernel(
            Helpers.convertFlowToQueryMetadata(this.props.flow, this.props.query),
            kernelId,
            version,
            QueryActions.updateErrorMessage
        );
    }