Quality refers to data accuracy, completeness, consistency, and reliability. Troubleshooting quality issues focuses on identifying and correcting data errors, anomalies, and inconsistencies. This can include profiling data, applying validation rules, and using quality metrics. Learn how to resolve common quality issues when you use Data Integrity Suite.
Snowflake queries are canceled automatically
- Error message:
SQL execution cancelled - Workaround: To prevent this issue, in Snowflake, set the
parameter ABORT_DETACHED_QUERY to
FALSEfor the user running the pipeline. For instance, if the user isDJOHN, use this command to set the parameter to false:alter user DJOHN set ABORT_DETACHED_QUERY=FALSEBy default, this parameter is set toFALSEin Snowflake. An admin typically enables or disables it at the account level. If it is set toTRUE, override it and set it toFALSEto avoid cancellation of long-running queries.
Existing pipeline does not open
Error message:
Unable to find sample file
A pipeline job fails when any of the following conditions exist:
- The source dataset schema does not match the pipeline input schema.
- The target dataset schema does not match the pipeline output schema.
- The connection specified in the run configuration is deleted. The connection must exist when the job runs.
- The pipeline engine specified in the run configuration is deleted. The pipeline engine must exist when the job runs.
Snowflake pipeline run fails
- Error message:
Unload to named, user, and table stages has been disallowed. - Workaround: To prevent this issue, in Snowflake, set the
parameter PREVENT_UNLOAD_TO_INTERNAL_STAGES to
FALSEfor the user running the pipeline. For instance, if the user isDJOHN, use this command to set the parameter to false::alter user DJOHN set PREVENT_UNLOAD_TO_INTERNAL_STAGES=FALSEBy default, this parameter is set toFALSEin Snowflake. An admin typically enables or disables it at the account level. If it is set toTRUE, override it and set it toFALSEto avoid pipeline failures during runs.
Spark job out-of-memory on Precisely Agent
Spark provides several configuration options to fine-tune memory settings. These properties control memory overhead beyond heap size. This is important for handling off-heap memory, task run overhead, and other internal memory usage.
For example, if the executor memory allocated is 3GB, setting a buffer memory value of 0.4 in the Spark property allocates an additional 1.2GB of memory, supporting successful job runs.
Keys to be added within the Spark properties section to the pipeline engine:
| spark.driver.memoryOverhead |
| spark.driver.memoryOverheadFactor |
| spark.executor.memoryOverhead |
| spark.executor.memoryOverheadFactor |
Rule run failure messages
Review common rule run failure messages and their explanations.
| Error message | Explanation |
|---|---|
| Handler type is invalid | This error means Quality attempted to evaluate a rule, but the specified handler (function or action) was incorrect, missing, or unrecognized. Verify that the handler name and configuration are correct in your setup. |
| Invalid strategy | This indicates that Quality received a strategy (method or run approach) that is unsupported or unrecognized. Double-check that the strategy name is valid and available in your configuration. |
| Unable to convert to JSON | Quality tried to read or generate JSON data, but the format was invalid or improperly structured, which prevented conversion. Review your input files or request payload for correct JSON formatting. |
| No strategy accepts execution request | This means Quality could not find a valid strategy (method) to process the current request. Ensure that your rule or workflow specifies a supported strategy. |
| No asset found corresponding to asset group | This indicates that Quality could not locate any asset linked to the specified asset group, so no processing could occur for that group. Confirm that the asset group exists and contains appropriate assets. |
| Error occurred during client service invocation | This error occurs when Quality tries to access or call a client service and the operation fails. Check the client service configuration and network connectivity. |
| Start task parsing error | Quality failed to interpret or read the task details accurately, so the task could not be started. Verify that task definitions are complete and correctly formatted. |
| One or more params is missing in request body | This means the request to Quality lacked required parameters and could not be processed. Make sure all required parameters are included in your API call or payload. |
| Metrics Publish Failure | Quality attempted to record or send metrics data, but the operation failed. Check metric publishing settings and ensure external systems are reachable if metrics are sent externally. |
| Entity not found while creating pipeline | This error indicates Quality could not locate a required entity (such as a resource, object, or configuration) needed to create a pipeline. Review your pipeline setup and ensure all referenced entities exist. |
| Schema drift dataset id is not available | Quality could not find the dataset ID needed to check schema drift, so the operation cannot proceed. Make sure the dataset ID is provided and accessible. |
| Error during metric collection in metric Engine | This error occurs when Quality encounters issues while collecting or recording metrics through its metric engine. Confirm that metric collection settings are correct and all required services are operational. |
| The pipeline engines are not available | This indicates that Quality has no pipeline engines available for evaluating quality rules. Check engine status and resource allocation in your environment. |
| Request to run pipeline failed | Quality attempted to start or run a pipeline, but the request was unsuccessful, and the pipeline did not run. Review pipeline configuration and ensure required resources are accessible. |
| Error while creating the pipeline | Quality encountered an issue while setting up or configuring a pipeline, resulting in failed creation. Investigate pipeline setup details and verify all parameters are correct. |
| Error during pipeline run | This means Quality experienced a problem during evaluation of pipeline tasks or stages, which prevented successful completion. Possible causes include missing or invalid input data, unavailable resources, or runtime exceptions. Check the generated logs for more details. |
| Error during cancel pipeline run | Quality tried to stop or cancel a running pipeline, but the operation failed. This can happen if the pipeline already completed, the system could not access the running instance, or an internal error prevented cancellation. |
| Job cancelled | This means a pipeline job in Quality was running but was intentionally stopped before completion. Reasons can include manual cancellation by a user, automatic cancellation due to system rules (such as time limits or resource constraints), or upstream errors in the pipeline. |
| PIPELINE_START_STATE_MISSING_ERROR | This indicates that Quality cannot start the pipeline because the initial state is missing or undefined. The engine needs a valid starting point to evaluate pipeline tasks, so ensure this is configured in your workflow. |
Pipeline validation errors
Use this section when a quality pipeline shows Invalid status or step-level warning, error, or data issue symbols.
Inspect step and pipeline validation errors
Resolve pipeline step data errors
Recognize and resolve data errors that occur during pipeline validation.
- Look for data error symbols on pipeline steps.
- Click the step with a data error to view the affected data.
- Hover the pointer over a highlighted cell to view the cause of the data error.
- Proceed iteratively through successive edits and validations to eliminate all errors and warnings from a pipeline.
- Add additional transformation steps if necessary to fix data errors.